diff options
author | Henrik Gramner <henrik@gramner.com> | 2015-09-28 19:50:13 +0300 |
---|---|---|
committer | Henrik Gramner <henrik@gramner.com> | 2015-09-28 19:50:13 +0300 |
commit | 69e456d7fbc5fff88acf747d135bf15c8e511c59 (patch) | |
tree | dac712e920ca035070661c1c3443e0999e8d9bb7 /tests/checkasm | |
parent | 0b227c6d4725d580feeea7d04c07bee26600df1b (diff) |
checkasm/vp9dsp: Fix iszero() to read the correct data
Diffstat (limited to 'tests/checkasm')
-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; |