mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-23 02:11:14 +08:00
tests/checkasm/mpegvideo_unquantize: Fix precedence problem
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -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(); \
|
||||
|
||||
Reference in New Issue
Block a user