]> git.sesse.net Git - vlc/commitdiff
asf: Fix WLE->DWLE in codec list object parsing
authorJuho Vähä-Herttua <juhovh@iki.fi>
Fri, 16 Jul 2010 11:50:52 +0000 (14:50 +0300)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 17 Jul 2010 12:57:58 +0000 (14:57 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/demux/asf/libasf.c

index 386c7a004cf73a98966ef95c52d7c714aab190b8..296f461627bbfe9891f6038b18f04ba83d9b9da2 100644 (file)
@@ -654,7 +654,7 @@ static int ASF_ReadObject_codec_list( stream_t *s, asf_object_t *p_obj )
        return VLC_EGENERIC;
 
     ASF_GetGUID( &p_cl->i_reserved, p_peek + 24 );
-    p_cl->i_codec_entries_count = GetWLE( p_peek + 40 );
+    p_cl->i_codec_entries_count = GetDWLE( p_peek + 40 );
 
     p_data = p_peek + 44;