summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHenrik Gramner <henrik@gramner.com>2015-09-16 14:03:01 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-09-17 10:33:06 +0200
commit781a25e9c419dd66063597cc5d70e8919de60561 (patch)
tree2c0a75b3f9d089ddeb477f3bbcd47c1acb2cd7fe /tests
parent4a664224502b42e3b28949d905a8de7769892184 (diff)
downloadffmpeg-streaming-781a25e9c419dd66063597cc5d70e8919de60561.zip
ffmpeg-streaming-781a25e9c419dd66063597cc5d70e8919de60561.tar.gz
checkasm: v210: Fix array overwrite
Diffstat (limited to 'tests')
-rw-r--r--tests/checkasm/v210enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/v210enc.c b/tests/checkasm/v210enc.c
index cdb8e76..4f5f6ba 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); \
OpenPOWER on IntegriCloud