1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

checkasm: vp8.mc: initialize the full src buffer after ec32574209

Fixes "Use of uninitialised value" valgrind warnings in checkasm.
This commit is contained in:
Janne Grunau 2016-07-12 21:31:57 +02:00
parent 17c99b6158
commit 80fbb7beca

View File

@ -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.