[vlc-commits] demux: asf: fix double declaration (cid 1135582)

Francois Cartegnie git at videolan.org
Mon Dec 9 14:16:39 CET 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Dec  9 13:59:10 2013 +0100| [c4611bcd88f628497bd7eeb829da5a99ccf6be64] | committer: Francois Cartegnie

demux: asf: fix double declaration (cid 1135582)

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

 modules/demux/asf/asf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/asf/asf.c b/modules/demux/asf/asf.c
index d01d15f..9e16d79 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -597,7 +597,7 @@ static void ParsePayloadExtensions(demux_t *p_demux, asf_track_t *tk,
     /* Extensions always come in the declared order */
     for ( int i=0; i< tk->p_esp->i_payload_extension_system_count; i++ )
     {
-        asf_payload_extension_system_t *p_ext = &tk->p_esp->p_ext[i];
+        p_ext = &tk->p_esp->p_ext[i];
         if ( p_ext->i_data_size == 0xFFFF ) /* Variable length extension data */
         {
             if ( i_length < 2 ) return;



More information about the vlc-commits mailing list