X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fmpeg12dec.c;h=c4d89e10cee3957f67a6ca46ecf125ac9a050226;hb=e83717e63eab1f1b78dc0990e5b8e927097fca29;hp=94221da2c158255e3b1db73299584f448ce634a5;hpb=d4b9e117ceb6356cbcdc9ca81ec9c6c4b90efdae;p=ffmpeg diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c index 94221da2c15..c4d89e10cee 100644 --- a/libavcodec/mpeg12dec.c +++ b/libavcodec/mpeg12dec.c @@ -49,7 +49,6 @@ #include "mpegvideodata.h" #include "profiles.h" #include "thread.h" -#include "version.h" #include "xvmc_internal.h" #define A53_MAX_CC_COUNT 2000 @@ -1067,7 +1066,6 @@ static av_cold int mpeg_decode_init(AVCodecContext *avctx) s->mpeg_enc_ctx_allocated = 0; s->mpeg_enc_ctx.picture_number = 0; s->repeat_field = 0; - s->mpeg_enc_ctx.codec_id = avctx->codec->id; avctx->color_range = AVCOL_RANGE_MPEG; return 0; } @@ -2441,12 +2439,6 @@ static void mpeg_decode_gop(AVCodecContext *avctx, tc = s-> timecode_frame_start = get_bits(&s->gb, 25); -#if FF_API_PRIVATE_OPT -FF_DISABLE_DEPRECATION_WARNINGS - avctx->timecode_frame_start = tc; -FF_ENABLE_DEPRECATION_WARNINGS -#endif - s->closed_gop = get_bits1(&s->gb); /* broken_link indicates that after editing the * reference frames of the first B-Frames after GOP I-Frame