[FFmpeg-cvslog] tests/checkasm: fix stack smash in check_loopfilter

Rodger Combs git at videolan.org
Sun Sep 20 20:44:05 CEST 2015


ffmpeg | branch: master | Rodger Combs <rodger.combs at gmail.com> | Sun Sep 20 12:29:32 2015 -0500| [df2a2643fef47e807d347f880a4eb41b7faf1d14] | committer: Michael Niedermayer

tests/checkasm: fix stack smash in check_loopfilter

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=df2a2643fef47e807d347f880a4eb41b7faf1d14
---

 tests/checkasm/vp9dsp.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/checkasm/vp9dsp.c b/tests/checkasm/vp9dsp.c
index 146a71f..6c335e9 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",



More information about the ffmpeg-cvslog mailing list