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

Git pushed a commit to branch master
in repository ffmpeg.

commit 00ff72851272073a86a2edd74c3563935b9b7a59
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Sun May 10 22:41:11 2026 +0200
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Fri May 15 20:29:29 2026 +0200

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

diff --git a/libavfilter/vf_pp7.c b/libavfilter/vf_pp7.c
index 10f56c804f..a2ad375227 100644
--- a/libavfilter/vf_pp7.c
+++ b/libavfilter/vf_pp7.c
@@ -226,10 +226,9 @@ static void filter(PP7Context *p, uint8_t *dst, const 
uint8_t *src,
     for (y = 0; y < height; y++) {
         for (x = -8; x < 0; x += 4) {
             const int index = x + y * stride + (8 - 3) * (1 + stride) + 8; 
//FIXME silly offset
-            const uint8_t *src = p_src + index;
             int16_t *tp   = temp + 4 * x;
 
-            dctA_c(tp + 4 * 8, src, stride);
+            dctA_c(tp + 4 * 8, p_src + index, stride);
         }
         for (x = 0; x < width; ) {
             const int qps = 3 + is_luma;
@@ -244,12 +243,11 @@ static void filter(PP7Context *p, uint8_t *dst, const 
uint8_t *src,
             }
             for (; x < end; x++) {
                 const int index = x + y * stride + (8 - 3) * (1 + stride) + 8; 
//FIXME silly offset
-                const uint8_t *src = p_src + index;
                 int16_t *tp  = temp + 4 * x;
                 int v;
 
                 if ((x & 3) == 0)
-                    dctA_c(tp + 4 * 8, src, stride);
+                    dctA_c(tp + 4 * 8, p_src + index, stride);
 
                 p->pp7dsp.dctB(block, tp);
 

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

Reply via email to