提交 fc06ee6e 编写于 作者: V Vittorio Giovara 提交者: Anton Khirnov

mmvideo: fix uninitialized variable use in mm_decode_intra

Signed-off-by: NAnton Khirnov <anton@khirnov.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册