Commit 69e456d7 authored by Henrik Gramner's avatar Henrik Gramner

checkasm/vp9dsp: Fix iszero() to read the correct data

parent 0b227c6d
...@@ -297,7 +297,7 @@ static int iszero(const int16_t *c, int sz) ...@@ -297,7 +297,7 @@ static int iszero(const int16_t *c, int sz)
{ {
int n; int n;
for (n = 0; n < sz; n += 4) for (n = 0; n < sz / sizeof(int16_t); n += 2)
if (AV_RN32A(&c[n])) if (AV_RN32A(&c[n]))
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment