summaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2017-03-16 15:56:59 -0400
committerVittorio Giovara <vittorio.giovara@gmail.com>2017-03-23 10:09:16 +0100
commitc43a96fe16e6a6ea091e64ca271f0788f4a0bea9 (patch)
treeffa20f81c3dd23b5fdd86ff415cc37b3825a4b43 /libavcodec/utils.c
parent48bb0da050329e5111b00a12dfc154b7e78fb3a3 (diff)
downloadffmpeg-streaming-c43a96fe16e6a6ea091e64ca271f0788f4a0bea9.zip
ffmpeg-streaming-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.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index a6408ce..bc421f6 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) {
OpenPOWER on IntegriCloud