Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2017-03-16 22:56:59 +0300
committerVittorio Giovara <vittorio.giovara@gmail.com>2017-03-23 12:09:16 +0300
commitc43a96fe16e6a6ea091e64ca271f0788f4a0bea9 (patch)
treeffa20f81c3dd23b5fdd86ff415cc37b3825a4b43 /libavcodec/decode.c
parent48bb0da050329e5111b00a12dfc154b7e78fb3a3 (diff)
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 f4088cdae8..e4f6a0d727 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;