Browse Source

tests/checkasm: fix stack smash in check_loopfilter

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.0
Rodger Combs Michael Niedermayer 9 years ago
parent
commit
df2a2643fe
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      tests/checkasm/vp9dsp.c

+ 3
- 0
tests/checkasm/vp9dsp.c View File

@@ -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",


Loading…
Cancel
Save