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

Git pushed a commit to branch master
in repository ffmpeg.

commit 0a1606f86c26812d5433272ac979e1a9684d6d5b
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Sat Feb 21 19:23:24 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Tue Mar 10 13:52:19 2026 +0100

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

diff --git a/libavcodec/hpeldsp.c b/libavcodec/hpeldsp.c
index e753d6216c..53d85cf31f 100644
--- a/libavcodec/hpeldsp.c
+++ b/libavcodec/hpeldsp.c
@@ -174,8 +174,8 @@ static inline void OPNAME ## _pixels4_xy2_8_c(uint8_t 
*block,           \
 {                                                                       \
     /* FIXME HIGH BIT DEPTH */                                          \
     int i;                                                              \
-    const uint32_t a = AV_RN32(pixels);                                 \
-    const uint32_t b = AV_RN32(pixels + 1);                             \
+    uint32_t a = AV_RN32(pixels);                                       \
+    uint32_t b = AV_RN32(pixels + 1);                                   \
     uint32_t l0 = (a & 0x03030303UL) +                                  \
                   (b & 0x03030303UL) +                                  \
                        0x02020202UL;                                    \
@@ -185,8 +185,8 @@ static inline void OPNAME ## _pixels4_xy2_8_c(uint8_t 
*block,           \
                                                                         \
     pixels += line_size;                                                \
     for (i = 0; i < h; i += 2) {                                        \
-        uint32_t a = AV_RN32(pixels);                                   \
-        uint32_t b = AV_RN32(pixels + 1);                               \
+        a = AV_RN32(pixels);                                            \
+        b = AV_RN32(pixels + 1);                                        \
         l1 = (a & 0x03030303UL) +                                       \
              (b & 0x03030303UL);                                        \
         h1 = ((a & 0xFCFCFCFCUL) >> 2) +                                \
@@ -219,8 +219,8 @@ static inline void OPNAME ## _pixels8_xy2_8_c(uint8_t 
*block,           \
                                                                         \
     for (j = 0; j < 2; j++) {                                           \
         int i;                                                          \
-        const uint32_t a = AV_RN32(pixels);                             \
-        const uint32_t b = AV_RN32(pixels + 1);                         \
+        uint32_t a = AV_RN32(pixels);                                   \
+        uint32_t b = AV_RN32(pixels + 1);                               \
         uint32_t l0 = (a & 0x03030303UL) +                              \
                       (b & 0x03030303UL) +                              \
                            0x02020202UL;                                \
@@ -230,8 +230,8 @@ static inline void OPNAME ## _pixels8_xy2_8_c(uint8_t 
*block,           \
                                                                         \
         pixels += line_size;                                            \
         for (i = 0; i < h; i += 2) {                                    \
-            uint32_t a = AV_RN32(pixels);                               \
-            uint32_t b = AV_RN32(pixels + 1);                           \
+            a = AV_RN32(pixels);                                        \
+            b = AV_RN32(pixels + 1);                                    \
             l1 = (a & 0x03030303UL) +                                   \
                  (b & 0x03030303UL);                                    \
             h1 = ((a & 0xFCFCFCFCUL) >> 2) +                            \
@@ -267,8 +267,8 @@ static inline void OPNAME ## 
_no_rnd_pixels8_xy2_8_c(uint8_t *block,    \
                                                                         \
     for (j = 0; j < 2; j++) {                                           \
         int i;                                                          \
-        const uint32_t a = AV_RN32(pixels);                             \
-        const uint32_t b = AV_RN32(pixels + 1);                         \
+        uint32_t a = AV_RN32(pixels);                                   \
+        uint32_t b = AV_RN32(pixels + 1);                               \
         uint32_t l0 = (a & 0x03030303UL) +                              \
                       (b & 0x03030303UL) +                              \
                            0x01010101UL;                                \
@@ -278,8 +278,8 @@ static inline void OPNAME ## 
_no_rnd_pixels8_xy2_8_c(uint8_t *block,    \
                                                                         \
         pixels += line_size;                                            \
         for (i = 0; i < h; i += 2) {                                    \
-            uint32_t a = AV_RN32(pixels);                               \
-            uint32_t b = AV_RN32(pixels + 1);                           \
+            a = AV_RN32(pixels);                                        \
+            b = AV_RN32(pixels + 1);                                    \
             l1 = (a & 0x03030303UL) +                                   \
                  (b & 0x03030303UL);                                    \
             h1 = ((a & 0xFCFCFCFCUL) >> 2) +                            \

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

Reply via email to