From 69e456d7fbc5fff88acf747d135bf15c8e511c59 Mon Sep 17 00:00:00 2001 From: Henrik Gramner Date: Mon, 28 Sep 2015 18:50:13 +0200 Subject: checkasm/vp9dsp: Fix iszero() to read the correct data --- tests/checkasm/vp9dsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/checkasm') 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; -- cgit v1.2.3