diff options
author | Henrik Gramner <henrik@gramner.com> | 2015-09-16 15:03:01 +0300 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-09-17 11:33:06 +0300 |
commit | 781a25e9c419dd66063597cc5d70e8919de60561 (patch) | |
tree | 2c0a75b3f9d089ddeb477f3bbcd47c1acb2cd7fe /tests | |
parent | 4a664224502b42e3b28949d905a8de7769892184 (diff) |
checkasm: v210: Fix array overwrite
Diffstat (limited to 'tests')
-rw-r--r-- | tests/checkasm/v210enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/v210enc.c b/tests/checkasm/v210enc.c index cdb8e761e3..4f5f6ba4ba 100644 --- a/tests/checkasm/v210enc.c +++ b/tests/checkasm/v210enc.c @@ -43,7 +43,7 @@ AV_WN32A(v0 + 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(); \ AV_WN32A(dst0 + i, r); \ AV_WN32A(dst1 + i, r); \ |