mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
mmvideo: fix uninitialized variable use in mm_decode_intra
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
211ca69b13
commit
fc06ee6ee3
@ -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)
|
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;
|
GetByteContext data_ptr;
|
||||||
|
|
||||||
if (bytestream2_get_bytes_left(&s->gb) < data_off)
|
if (bytestream2_get_bytes_left(&s->gb) < data_off)
|
||||||
|
Loading…
Reference in New Issue
Block a user