From df2a2643fef47e807d347f880a4eb41b7faf1d14 Mon Sep 17 00:00:00 2001 From: Rodger Combs Date: Sun, 20 Sep 2015 12:29:32 -0500 Subject: tests/checkasm: fix stack smash in check_loopfilter Signed-off-by: Michael Niedermayer --- tests/checkasm/vp9dsp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/checkasm/vp9dsp.c b/tests/checkasm/vp9dsp.c index 146a71fbb5..6c335e9398 100644 --- a/tests/checkasm/vp9dsp.c +++ b/tests/checkasm/vp9dsp.c @@ -197,6 +197,9 @@ static void check_loopfilter() midoff = (dir ? 16 * 8 : 8) * SIZEOF_PIXEL; midoff_aligned = (dir ? 16 * 8 : 16) * SIZEOF_PIXEL; + buf0 = base0 + midoff_aligned; + buf1 = base1 + midoff_aligned; + // 16wd_16px loopfilter if (check_func(dsp.loop_filter_16[dir], "vp9_loop_filter_%s_16_16_%dbpp", -- cgit v1.2.3