diff options
author | Janne Grunau <janne-libav@jannau.net> | 2016-07-12 21:31:57 +0200 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2016-07-13 22:18:52 +0200 |
commit | 80fbb7becae530167373fe5178966b7d7604306e (patch) | |
tree | 0698a6dd182fd3d78e5e103dab52b826b885e24f /tests/checkasm/vp8dsp.c | |
parent | 17c99b6158f2c6720af74e81ee727ee50d2e7e96 (diff) | |
download | ffmpeg-80fbb7becae530167373fe5178966b7d7604306e.tar.gz |
checkasm: vp8.mc: initialize the full src buffer after ec32574209f
Fixes "Use of uninitialised value" valgrind warnings in checkasm.
Diffstat (limited to 'tests/checkasm/vp8dsp.c')
-rw-r--r-- | tests/checkasm/vp8dsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/vp8dsp.c b/tests/checkasm/vp8dsp.c index 9733ff7c8d..0260d631ba 100644 --- a/tests/checkasm/vp8dsp.c +++ b/tests/checkasm/vp8dsp.c @@ -247,7 +247,7 @@ static void check_luma_dc_wht(void) } #define SRC_BUF_STRIDE 32 -#define SRC_BUF_SIZE ((size + 5) * SRC_BUF_STRIDE) +#define SRC_BUF_SIZE (((size << (size < 16)) + 5) * SRC_BUF_STRIDE) // The mc subpixel interpolation filter needs the 2 previous pixels in either // direction, the +1 is to make sure the actual load addresses always are // unaligned. |