diff --git a/libavcodec/mmvideo.c b/libavcodec/mmvideo.c index f52bf3ada2..00284c9a04 100644 --- a/libavcodec/mmvideo.c +++ b/libavcodec/mmvideo.c @@ -127,7 +127,7 @@ static int mm_decode_intra(MmContext * s, int half_horiz, int half_vert) */ static int mm_decode_inter(MmContext * s, int half_horiz, int half_vert) { - int data_off = bytestream2_get_le16(&s->gb), y; + int data_off = bytestream2_get_le16(&s->gb), y = 0; GetByteContext data_ptr; if (bytestream2_get_bytes_left(&s->gb) < data_off)