]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/eatgq.c
Merge remote branch 'qatar/master'
[ffmpeg] / libavcodec / eatgq.c
index 6f35a1513b8b5f8a101b6a38baf6a83e30b282af..a353580a15a875151797830c4d93b6065b1c89f2 100644 (file)
@@ -218,7 +218,7 @@ static int tgq_decode_frame(AVCodecContext *avctx,
 
     if (!s->frame.data[0]) {
         s->frame.key_frame = 1;
-        s->frame.pict_type = FF_I_TYPE;
+        s->frame.pict_type = AV_PICTURE_TYPE_I;
         s->frame.buffer_hints = FF_BUFFER_HINTS_VALID;
         if (avctx->get_buffer(avctx, &s->frame)) {
             av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");