summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHenrik Gramner <henrik@gramner.com>2015-09-28 18:50:13 +0200
committerHenrik Gramner <henrik@gramner.com>2015-09-28 18:50:13 +0200
commit69e456d7fbc5fff88acf747d135bf15c8e511c59 (patch)
treedac712e920ca035070661c1c3443e0999e8d9bb7 /tests
parent0b227c6d4725d580feeea7d04c07bee26600df1b (diff)
downloadffmpeg-streaming-69e456d7fbc5fff88acf747d135bf15c8e511c59.zip
ffmpeg-streaming-69e456d7fbc5fff88acf747d135bf15c8e511c59.tar.gz
checkasm/vp9dsp: Fix iszero() to read the correct data
Diffstat (limited to 'tests')
-rw-r--r--tests/checkasm/vp9dsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/vp9dsp.c b/tests/checkasm/vp9dsp.c
index 5ec4038..37a3ca6 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;
OpenPOWER on IntegriCloud