diff options
author | Rodger Combs <rodger.combs@gmail.com> | 2015-09-20 12:29:32 -0500 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-20 20:26:09 +0200 |
commit | df2a2643fef47e807d347f880a4eb41b7faf1d14 (patch) | |
tree | efa55a867f7d10f710f970818f845ed45a75ab23 /tests | |
parent | cf2719abeecb0a656d9bceebfca1a45e64f0cef7 (diff) | |
download | ffmpeg-df2a2643fef47e807d347f880a4eb41b7faf1d14.tar.gz |
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.c | 3 |
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", |