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/avs3_parser.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/avs3_parser.c')
-rw-r--r-- | libavcodec/avs3_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/avs3_parser.c b/libavcodec/avs3_parser.c index a9fd879e9d..a819b5783d 100644 --- a/libavcodec/avs3_parser.c +++ b/libavcodec/avs3_parser.c @@ -117,8 +117,8 @@ static void parse_avs3_nal_units(AVCodecParserContext *s, const uint8_t *buf, low_delay = get_bits(&gb, 1); avctx->has_b_frames = FFMAX(avctx->has_b_frames, !low_delay); - avctx->framerate.num = avctx->time_base.den = ff_avs3_frame_rate_tab[ratecode].num; - avctx->framerate.den = avctx->time_base.num = ff_avs3_frame_rate_tab[ratecode].den; + avctx->framerate.num = ff_avs3_frame_rate_tab[ratecode].num; + avctx->framerate.den = ff_avs3_frame_rate_tab[ratecode].den; s->width = s->coded_width = avctx->width; s->height = s->coded_height = avctx->height; |