]> git.sesse.net Git - vlc/commitdiff
Fixed ASF_ReadObject_extended_stream_properties parsing in case of
authorLaurent Aimar <fenrir@videolan.org>
Wed, 2 Jul 2008 17:13:42 +0000 (17:13 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Wed, 2 Jul 2008 19:57:30 +0000 (19:57 +0000)
stream language.

modules/demux/asf/libasf.c

index cb20848bb9bd65236f827484441db8b76526e34a..e77df7ae6d867378e17654ce5aab9cead1ef1f2c 100644 (file)
@@ -920,7 +920,7 @@ static int ASF_ReadObject_extended_stream_properties( stream_t *s,
 
         p_esp->pi_stream_name_language[i] = GetWLE( &p_data[0] );
         i_size = GetWLE( &p_data[2] );
-        p_data += 2;
+        p_data += 2+2;
  
         psz = calloc( i_size/2 + 1, sizeof(char) );
         for( i_len = 0; i_len < i_size/2; i_len++ )