Fixed access to (potentially) uninitialized data (close #1246, reported by aurelien).
authorLaurent Aimar <fenrir@videolan.org>
Mon, 16 Jul 2007 20:45:20 +0000 (20:45 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 16 Jul 2007 20:45:20 +0000 (20:45 +0000)
modules/demux/asf/libasf.c

index d0404e7..943c638 100644 (file)
@@ -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;
     }