diff options
author | James Almer <jamrial@gmail.com> | 2023-01-04 13:13:19 -0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-02-09 15:35:08 +0100 |
commit | 5f9e848e686a3c0795939809712b260af5c1adb8 (patch) | |
tree | c8fd93e026f80dbba898f9d7ac5b84d505c564b6 /libavcodec/avcodec.c | |
parent | 10c9a0874cb361336237557391d306d26d43f137 (diff) | |
download | ffmpeg-5f9e848e686a3c0795939809712b260af5c1adb8.tar.gz |
avcodec: remove FF_API_AVCTX_TIMEBASE
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.c')
-rw-r--r-- | libavcodec/avcodec.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/avcodec.c b/libavcodec/avcodec.c index efa76d2740..00a5851807 100644 --- a/libavcodec/avcodec.c +++ b/libavcodec/avcodec.c @@ -349,11 +349,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(av_mul_q(avctx->framerate, (AVRational){avctx->ticks_per_frame, 1})); -#endif } if (codec->priv_class) av_assert0(*(const AVClass **)avctx->priv_data == codec->priv_class); |