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/utils.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/utils.c')
-rw-r--r-- | libavcodec/utils.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index a6408cecbb..bc421f67f8 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -663,11 +663,6 @@ FF_ENABLE_DEPRECATION_WARNINGS ret = AVERROR(EINVAL); goto free_and_end; } - -#if FF_API_AVCTX_TIMEBASE - if (avctx->framerate.num > 0 && avctx->framerate.den > 0) - avctx->time_base = av_inv_q(avctx->framerate); -#endif } end: if (!(codec->caps_internal & FF_CODEC_CAP_INIT_THREADSAFE) && codec->init) { |