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

Git pushed a commit to branch master
in repository ffmpeg.

commit 05a8e894740c6300636680a32a0f4cccc06b582b
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Tue Apr 28 20:26:22 2026 +0200
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sun May 3 18:22:13 2026 +0200

    avcodec/tta: Fix shadowing
    
    Reviewed-by: Ramiro Polla <[email protected]>
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/tta.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/libavcodec/tta.c b/libavcodec/tta.c
index 644a428c09..ed839b27fb 100644
--- a/libavcodec/tta.c
+++ b/libavcodec/tta.c
@@ -261,9 +261,8 @@ static int tta_decode_frame(AVCodecContext *avctx, AVFrame 
*frame,
         s->ch_ctx[i].predictor = 0;
         ff_tta_filter_init(filter, ff_tta_filter_configs[s->bps-1]);
         if (s->format == FORMAT_ENCRYPTED) {
-            int i;
-            for (i = 0; i < 8; i++)
-                filter->qm[i] = sign_extend(s->crc_pass[i], 8);
+            for (int j = 0; j < 8; j++)
+                filter->qm[j] = sign_extend(s->crc_pass[j], 8);
         }
         ff_tta_rice_init(&s->ch_ctx[i].rice, 10, 10);
     }

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

Reply via email to