aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-11-17 15:20:10 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2016-11-17 15:20:10 +0100
commitc0af1ee90dcb760dda0ae9f014fcb748bb196fb3 (patch)
tree57ce299ed1f74844a5ad2af7517cbaf4f7b890c7
parent62d9b7a69b9bf1ec702fe46c5f31bf88c85d22a2 (diff)
parent80fbb7becae530167373fe5178966b7d7604306e (diff)
downloadffmpeg-c0af1ee90dcb760dda0ae9f014fcb748bb196fb3.tar.gz
Merge commit '80fbb7becae530167373fe5178966b7d7604306e'
* commit '80fbb7becae530167373fe5178966b7d7604306e': checkasm: vp8.mc: initialize the full src buffer after ec32574209f Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-rw-r--r--tests/checkasm/vp8dsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/vp8dsp.c b/tests/checkasm/vp8dsp.c
index 1e64481d28..d3aff99946 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.