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

This commit is contained in:
Henrik Gramner 2015-09-28 18:50:13 +02:00
parent 0b227c6d47
commit 69e456d7fb
1 changed files with 1 additions and 1 deletions

View File

@ -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;