Commit fc06ee6e authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Anton Khirnov

mmvideo: fix uninitialized variable use in mm_decode_intra

Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 211ca69b
......@@ -126,7 +126,8 @@ 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);
int y = 0;
GetByteContext data_ptr;
if (bytestream2_get_bytes_left(&s->gb) < data_off)
......
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