Skip to content
Snippets Groups Projects
Commit 80fbb7be authored by Janne Grunau's avatar Janne Grunau
Browse files

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

Fixes "Use of uninitialised value" valgrind warnings in checkasm.
parent 17c99b61
No related branches found
No related tags found
No related merge requests found
...@@ -247,7 +247,7 @@ static void check_luma_dc_wht(void) ...@@ -247,7 +247,7 @@ static void check_luma_dc_wht(void)
} }
#define SRC_BUF_STRIDE 32 #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 // 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 // direction, the +1 is to make sure the actual load addresses always are
// unaligned. // unaligned.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment