aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/av1_parser.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-01-04 13:13:19 -0300
committerAnton Khirnov <anton@khirnov.net>2023-02-09 15:35:08 +0100
commit5f9e848e686a3c0795939809712b260af5c1adb8 (patch)
treec8fd93e026f80dbba898f9d7ac5b84d505c564b6 /libavcodec/av1_parser.c
parent10c9a0874cb361336237557391d306d26d43f137 (diff)
downloadffmpeg-5f9e848e686a3c0795939809712b260af5c1adb8.tar.gz
avcodec: remove FF_API_AVCTX_TIMEBASE
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/av1_parser.c')
-rw-r--r--libavcodec/av1_parser.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/av1_parser.c b/libavcodec/av1_parser.c
index e57e382757..14dae92fe9 100644
--- a/libavcodec/av1_parser.c
+++ b/libavcodec/av1_parser.c
@@ -168,9 +168,6 @@ static int av1_parser_parse(AVCodecParserContext *ctx,
timing->num_units_in_display_tick, timing->time_scale, INT_MAX);
}
- if (avctx->framerate.num)
- avctx->time_base = av_inv_q(av_mul_q(avctx->framerate, (AVRational){avctx->ticks_per_frame, 1}));
-
end:
ff_cbs_fragment_reset(td);