[FFmpeg-cvslog] vp8: prevent read from uninitialized memory in decode_mvs
Ronald S. Bultje
git at videolan.org
Fri Nov 4 20:49:26 CET 2011
ffmpeg | branch: release/0.7 | Ronald S. Bultje <rsbultje at gmail.com> | Fri Oct 14 23:43:29 2011 +0200| [d32f509de1c6bbd2b441cf1ce9fda08504bfae6f] | committer: Michael Niedermayer
vp8: prevent read from uninitialized memory in decode_mvs
Signed-off-by: Janne Grunau <janne-libav at jannau.net>
(cherry picked from commit 0f0b5d643401d4d83322eeee0e57eb5a226ef9ab)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d32f509de1c6bbd2b441cf1ce9fda08504bfae6f
---
libavcodec/vp8.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index daaee83..3217605 100644
--- a/libavcodec/vp8.c
+++ b/libavcodec/vp8.c
@@ -492,6 +492,7 @@ void decode_mvs(VP8Context *s, VP8Macroblock *mb, int mb_x, int mb_y)
AV_ZERO32(&near_mv[0]);
AV_ZERO32(&near_mv[1]);
+ AV_ZERO32(&near_mv[2]);
/* Process MB on top, left and top-left */
#define MV_EDGE_CHECK(n)\
More information about the ffmpeg-cvslog
mailing list