Commit 6115966a authored by Henrik Gramner's avatar Henrik Gramner

checkasm: v210: Fix array overwrite

parent 985e7d8c
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
AV_WN32A(v0 + i, r); \ AV_WN32A(v0 + i, r); \
AV_WN32A(v1 + i, r); \ AV_WN32A(v1 + i, r); \
} \ } \
for (i = 0; i < BUF_SIZE * 8 / 3; i += 4) { \ for (i = 0; i < width * 8 / 3; i += 4) { \
uint32_t r = rnd(); \ uint32_t r = rnd(); \
AV_WN32A(dst0 + i, r); \ AV_WN32A(dst0 + i, r); \
AV_WN32A(dst1 + i, r); \ AV_WN32A(dst1 + i, r); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment