From 0f0b5d643401d4d83322eeee0e57eb5a226ef9ab Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Fri, 14 Oct 2011 23:43:29 +0200 Subject: vp8: prevent read from uninitialized memory in decode_mvs Signed-off-by: Janne Grunau --- libavcodec/vp8.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/vp8.c') diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c index 691324eeb0..7442b99252 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)\ -- cgit v1.2.3