Commit 49c878c5 authored by Laurent Aimar's avatar Laurent Aimar

Fixed access to (potentially) uninitialized data (close #1246, reported by aurelien).

parent 0fb0c8e4
......@@ -268,7 +268,7 @@ static int ASF_ReadObject_file_properties( stream_t *s, asf_object_t *p_obj )
int i_peek;
uint8_t *p_peek;
if( ( i_peek = stream_Peek( s, &p_peek, 92) ) < 92 )
if( ( i_peek = stream_Peek( s, &p_peek, 104) ) < 104 )
{
return VLC_EGENERIC;
}
......
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