X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Featgq.c;h=d4f8b8fb5fbd5c28c256e790855811df6b64da2c;hb=5f0bb0baefd506d684adfa1ad4259c65973b455e;hp=61814862ccfc5e8c02fe152466c8ccc6ec7df0a6;hpb=2912e87a6c9264d556734e2bf94a99c64cf9b102;p=ffmpeg diff --git a/libavcodec/eatgq.c b/libavcodec/eatgq.c index 61814862ccf..d4f8b8fb5fb 100644 --- a/libavcodec/eatgq.c +++ b/libavcodec/eatgq.c @@ -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");