OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17c99b6
)
checkasm: vp8.mc: initialize the full src buffer after ec32574209f
author
Janne Grunau
<janne-libav@jannau.net>
Tue, 12 Jul 2016 19:31:57 +0000
(21:31 +0200)
committer
Janne Grunau
<janne-libav@jannau.net>
Wed, 13 Jul 2016 20:18:52 +0000
(22:18 +0200)
Fixes "Use of uninitialised value" valgrind warnings in checkasm.
tests/checkasm/vp8dsp.c
patch
|
blob
|
history
diff --git
a/tests/checkasm/vp8dsp.c
b/tests/checkasm/vp8dsp.c
index
9733ff7
..
0260d63
100644
(file)
--- 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.