mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
checkasm/vp9dsp: Fix iszero() to read the correct data
This commit is contained in:
parent
0b227c6d47
commit
69e456d7fb
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user