diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-03-16 15:56:59 -0400 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-03-23 10:09:16 +0100 |
commit | c43a96fe16e6a6ea091e64ca271f0788f4a0bea9 (patch) | |
tree | ffa20f81c3dd23b5fdd86ff415cc37b3825a4b43 /libavcodec/mpegvideo_parser.c | |
parent | 48bb0da050329e5111b00a12dfc154b7e78fb3a3 (diff) | |
download | ffmpeg-c43a96fe16e6a6ea091e64ca271f0788f4a0bea9.tar.gz |
lavc: Drop deprecated time_base variable for decoding
Deprecated in 10/2015.
Diffstat (limited to 'libavcodec/mpegvideo_parser.c')
-rw-r--r-- | libavcodec/mpegvideo_parser.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/mpegvideo_parser.c b/libavcodec/mpegvideo_parser.c index 500d1240ef..f883b5f819 100644 --- a/libavcodec/mpegvideo_parser.c +++ b/libavcodec/mpegvideo_parser.c @@ -163,11 +163,6 @@ static void mpegvideo_extract_headers(AVCodecParserContext *s, s->coded_width = FFALIGN(pc->width, 16); s->coded_height = FFALIGN(pc->height, 16); } - -#if FF_API_AVCTX_TIMEBASE - if (avctx->framerate.num) - avctx->time_base = av_inv_q(avctx->framerate); -#endif } static int mpegvideo_parse(AVCodecParserContext *s, |