Commit 0f0b5d64 authored by Ronald S. Bultje's avatar Ronald S. Bultje Committed by Janne Grunau

vp8: prevent read from uninitialized memory in decode_mvs

Signed-off-by: 's avatarJanne Grunau <janne-libav@jannau.net>
parent 56535793
...@@ -492,6 +492,7 @@ void decode_mvs(VP8Context *s, VP8Macroblock *mb, int mb_x, int mb_y) ...@@ -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[0]);
AV_ZERO32(&near_mv[1]); AV_ZERO32(&near_mv[1]);
AV_ZERO32(&near_mv[2]);
/* Process MB on top, left and top-left */ /* Process MB on top, left and top-left */
#define MV_EDGE_CHECK(n)\ #define MV_EDGE_CHECK(n)\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment