This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit a49eed2fb1d2dcb3a2017d3d2bdd32e2960b5072 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Sat Feb 21 14:43:52 2026 +0100 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Tue Mar 10 13:52:18 2026 +0100 avformat/oggenc: Fix shadowing Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavformat/oggenc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c index 605c9d20e1..754432cb81 100644 --- a/libavformat/oggenc.c +++ b/libavformat/oggenc.c @@ -274,12 +274,12 @@ static int ogg_buffer_data(AVFormatContext *s, AVStream *st, page->granule = granule; { - AVStream *st = s->streams[page->stream_index]; + AVRational time_base = s->streams[page->stream_index]->time_base; - int64_t start = av_rescale_q(page->start_granule, st->time_base, + int64_t start = av_rescale_q(page->start_granule, time_base, AV_TIME_BASE_Q); int64_t next = av_rescale_q(ogg_granule_to_timestamp(oggstream, page->granule), - st->time_base, AV_TIME_BASE_Q); + time_base, AV_TIME_BASE_Q); if (page->segments_count == 255) { ogg_buffer_page(s, oggstream); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
