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

Git pushed a commit to branch master
in repository ffmpeg.

commit 2fdccaf7d6009b60cd839cdb82088bc078034327
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Fri Apr 10 11:08:48 2026 +0200
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Mon Apr 13 12:51:35 2026 +0200

    tests/checkasm/mpegvideo_unquantize: Fix precedence problem
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 tests/checkasm/mpegvideo_unquantize.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/checkasm/mpegvideo_unquantize.c 
b/tests/checkasm/mpegvideo_unquantize.c
index 0430e20354..9de0bb4284 100644
--- a/tests/checkasm/mpegvideo_unquantize.c
+++ b/tests/checkasm/mpegvideo_unquantize.c
@@ -36,7 +36,7 @@
     static_assert(!(_Alignof(TYPE) % 4),                  \
                   "can't use aligned stores");            \
     unsigned char *ptr = (unsigned char*)s;               \
-    for (size_t i = 0; i < sizeof(*s) & ~3; i += 4)       \
+    for (size_t i = 0; i < (sizeof(*s) & ~3); i += 4)     \
         AV_WN32A(ptr + i, rnd());                         \
     for (size_t i = sizeof(*s) & ~3; i < sizeof(*s); ++i) \
         ptr[i] = rnd();                                   \

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

Reply via email to