diff options
author | Henrik Gramner <henrik@gramner.com> | 2015-09-28 18:50:13 +0200 |
---|---|---|
committer | Henrik Gramner <henrik@gramner.com> | 2015-09-28 18:50:13 +0200 |
commit | 69e456d7fbc5fff88acf747d135bf15c8e511c59 (patch) | |
tree | dac712e920ca035070661c1c3443e0999e8d9bb7 /tests | |
parent | 0b227c6d4725d580feeea7d04c07bee26600df1b (diff) | |
download | ffmpeg-69e456d7fbc5fff88acf747d135bf15c8e511c59.tar.gz |
checkasm/vp9dsp: Fix iszero() to read the correct data
Diffstat (limited to 'tests')
-rw-r--r-- | tests/checkasm/vp9dsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/vp9dsp.c b/tests/checkasm/vp9dsp.c index 5ec4038bee..37a3ca6738 100644 --- a/tests/checkasm/vp9dsp.c +++ b/tests/checkasm/vp9dsp.c @@ -297,7 +297,7 @@ static int iszero(const int16_t *c, int sz) { int n; - for (n = 0; n < sz; n += 4) + for (n = 0; n < sz / sizeof(int16_t); n += 2) if (AV_RN32A(&c[n])) return 0; |