summaryrefslogtreecommitdiffstats
path: root/libavcodec/decode.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/decode.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/decode.c')
-rw-r--r--libavcodec/decode.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/decode.c b/libavcodec/decode.c
index f4088cd..e4f6a0d 100644
--- a/libavcodec/decode.c
+++ b/libavcodec/decode.c
@@ -354,11 +354,6 @@ static int decode_simple_internal(AVCodecContext *avctx, AVFrame *frame)
if (ret >= 0 && avctx->codec->type == AVMEDIA_TYPE_VIDEO)
ret = pkt->size;
-#if FF_API_AVCTX_TIMEBASE
- if (avctx->framerate.num > 0 && avctx->framerate.den > 0)
- avctx->time_base = av_inv_q(avctx->framerate);
-#endif
-
if (avctx->internal->draining && !got_frame)
avci->draining_done = 1;
OpenPOWER on IntegriCloud