[vlc-devel] commit: Fixed ASF_ReadObject_extended_stream_properties parsing in case of (Laurent Aimar )

git version control git at videolan.org
Wed Jul 2 21:55:42 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Jul  2 17:13:42 2008 +0000| [29a893b661d7c7ceb360c3078678a8ae82edca26]

Fixed ASF_ReadObject_extended_stream_properties parsing in case of
stream language.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=29a893b661d7c7ceb360c3078678a8ae82edca26
---

 modules/demux/asf/libasf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/asf/libasf.c b/modules/demux/asf/libasf.c
index cb20848..e77df7a 100644
--- a/modules/demux/asf/libasf.c
+++ b/modules/demux/asf/libasf.c
@@ -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++ )




More information about the vlc-devel mailing list