This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit a2a42aa404ffe865743c5e503c557dd1d34d478e Author: Andreas Rheinhardt <[email protected]> AuthorDate: Sat Feb 21 14:08:31 2026 +0100 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Tue Mar 10 13:52:18 2026 +0100 avformat/vorbiscomment: Fix shadowing Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavformat/vorbiscomment.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/vorbiscomment.c b/libavformat/vorbiscomment.c index e57cfa5e62..1ef88ed6e4 100644 --- a/libavformat/vorbiscomment.c +++ b/libavformat/vorbiscomment.c @@ -57,7 +57,7 @@ int ff_vorbiscomment_length(const AVDictionary *m, const char *vendor_string, return len; } -int ff_vorbiscomment_write(AVIOContext *pb, const AVDictionary *m, +int ff_vorbiscomment_write(AVIOContext *pb, const AVDictionary *dict, const char *vendor_string, AVChapter **chapters, unsigned int nb_chapters) { @@ -73,11 +73,11 @@ int ff_vorbiscomment_write(AVIOContext *pb, const AVDictionary *m, cm_count += av_dict_count(chapters[i]->metadata) + 1; } } - if (m) { - int count = av_dict_count(m) + cm_count; + if (dict) { + int count = av_dict_count(dict) + cm_count; const AVDictionaryEntry *tag = NULL; avio_wl32(pb, count); - while ((tag = av_dict_iterate(m, tag))) { + while ((tag = av_dict_iterate(dict, tag))) { int64_t len1 = strlen(tag->key); int64_t len2 = strlen(tag->value); if (len1+1+len2 > UINT32_MAX) _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
