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

Git pushed a commit to branch master
in repository ffmpeg.

commit 7950e5d1a58ea6fea2541dacd885e2d1cd268c26
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Sat Feb 21 19:28:33 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Tue Mar 10 13:52:19 2026 +0100

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

diff --git a/libavcodec/rka.c b/libavcodec/rka.c
index 600c160028..975ff6dedf 100644
--- a/libavcodec/rka.c
+++ b/libavcodec/rka.c
@@ -410,7 +410,6 @@ static void update_ch_subobj(AdaptiveModel *am)
 static int amdl_decode_int(AdaptiveModel *am, ACoder *ac, unsigned *dst, 
unsigned size)
 {
     unsigned freq, size2, val, mul;
-    int j;
 
     size = FFMIN(size, am->buf_size - 1);
 
@@ -435,7 +434,7 @@ static int amdl_decode_int(AdaptiveModel *am, ACoder *ac, 
unsigned *dst, unsigne
         size2 = am->buf_size >> 1;
         val = am->prob[0][0];
         if (freq >= val) {
-            int sum = 0;
+            int sum = 0, j;
             for (j = freq - val; size2; size2 >>= 1) {
                 unsigned v = am->prob[0][size2 + sum];
                 if (j >= v) {

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

Reply via email to