This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 92046bcd7bd2bbc3dd0b334c92cb10584b052bf8
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Sat Feb 21 19:02:55 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Tue Mar 10 13:52:18 2026 +0100

    avcodec/cbs: Fix shadowing
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/cbs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/cbs.c b/libavcodec/cbs.c
index b045b73b68..7ff0f89aa5 100644
--- a/libavcodec/cbs.c
+++ b/libavcodec/cbs.c
@@ -967,7 +967,7 @@ static int cbs_clone_noncomplex_unit_content(void **clonep,
 {
     const uint8_t *src;
     uint8_t *copy;
-    int err, i;
+    int err;
 
     av_assert0(unit->content);
     src = unit->content;
@@ -982,7 +982,7 @@ static int cbs_clone_noncomplex_unit_content(void **clonep,
         *(ptr + 1) = NULL;
     }
 
-    for (i = 0; i < desc->type.ref.nb_offsets; i++) {
+    for (int i = 0; i < desc->type.ref.nb_offsets; i++) {
         const uint8_t *const *src_ptr = (const uint8_t* const*)(src + 
desc->type.ref.offsets[i]);
         const AVBufferRef *src_buf = *(AVBufferRef**)(src_ptr + 1);
         uint8_t **copy_ptr = (uint8_t**)(copy + desc->type.ref.offsets[i]);

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to