[vlc-devel] [PATCH 2/3] asf: Fix WLE->DWLE in codec list object parsing

Juho Vähä-Herttua juhovh at iki.fi
Fri Jul 16 13:50:52 CEST 2010


---
 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 803c849..28b6469 100644
--- a/modules/demux/asf/libasf.c
+++ b/modules/demux/asf/libasf.c
@@ -655,7 +655,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;
 
-- 
1.7.0.4




More information about the vlc-devel mailing list