summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRodger Combs <rodger.combs@gmail.com>2015-09-20 12:29:32 -0500
committerMichael Niedermayer <michael@niedermayer.cc>2015-09-20 20:26:09 +0200
commitdf2a2643fef47e807d347f880a4eb41b7faf1d14 (patch)
treeefa55a867f7d10f710f970818f845ed45a75ab23 /tests
parentcf2719abeecb0a656d9bceebfca1a45e64f0cef7 (diff)
tests/checkasm: fix stack smash in check_loopfilter
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests')
-rw-r--r--tests/checkasm/vp9dsp.c3
1 files changed, 3 insertions, 0 deletions
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",