]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/bktr.c
Merge commit 'e002e3291e6dc7953f843abf56fc14f08f238b21'
[ffmpeg] / libavdevice / bktr.c
index 27705513d424a12f8acaccd2d9c91528f637967c..e83c44ae2954632811e34087c2708cadcaf693e3 100644 (file)
@@ -273,7 +273,7 @@ static int grab_read_header(AVFormatContext *s1)
     s->per_frame = ((uint64_t)1000000 * framerate.den) / framerate.num;
 
     st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
-    st->codec->pix_fmt = PIX_FMT_YUV420P;
+    st->codec->pix_fmt = AV_PIX_FMT_YUV420P;
     st->codec->codec_id = AV_CODEC_ID_RAWVIDEO;
     st->codec->width = s->width;
     st->codec->height = s->height;