]> git.sesse.net Git - vlc/commitdiff
src/input/es_out.c: gcc < 3 fix
authorEric Petit <titer@videolan.org>
Sun, 29 Aug 2004 13:40:56 +0000 (13:40 +0000)
committerEric Petit <titer@videolan.org>
Sun, 29 Aug 2004 13:40:56 +0000 (13:40 +0000)
src/input/es_out.c

index 29e9ed6ab470a766b1cb4783245f541c64801509..c09cfea441f4106e0052b7bd18b2f031b3906ff7 100644 (file)
@@ -995,8 +995,8 @@ static int EsOutControl( es_out_t *out, int i_query, va_list args )
         {
             /* This ain't pretty but is need by some demuxers (eg. Ogg )
              * to update the p_extra data */
-            es = (es_out_id_t*) va_arg( args, es_out_id_t * );
             es_format_t *p_fmt = (es_format_t*) va_arg( args, es_format_t * );
+            es = (es_out_id_t*) va_arg( args, es_out_id_t * );
             if( es == NULL || !es->p_dec ) return VLC_EGENERIC;
 
             if( p_fmt->i_extra )