This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit fd88a52be0d5dd94545d4e37aceb187b93ce9054 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Sat Feb 21 14:22:22 2026 +0100 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Tue Mar 10 13:52:18 2026 +0100 avformat/matroskaenc: Fix shadowing Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavformat/matroskaenc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 2c85672389..cb19584b2b 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -2552,11 +2552,11 @@ static int64_t get_metadata_duration(AVFormatContext *s) } for (unsigned i = 0; i < s->nb_streams; i++) { - int64_t us; + int64_t stream_duration_us; duration = av_dict_get(s->streams[i]->metadata, "DURATION", NULL, 0); - if (duration && (av_parse_time(&us, duration->value, 1) == 0)) - max = FFMAX(max, us); + if (duration && (av_parse_time(&stream_duration_us, duration->value, 1) == 0)) + max = FFMAX(max, stream_duration_us); } av_log(s, AV_LOG_DEBUG, "get_metadata_duration returned: %" PRId64 "\n", max); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
