]> git.sesse.net Git - vlc/commitdiff
compile fix
authorEric Petit <titer@videolan.org>
Mon, 30 Aug 2004 22:53:40 +0000 (22:53 +0000)
committerEric Petit <titer@videolan.org>
Mon, 30 Aug 2004 22:53:40 +0000 (22:53 +0000)
src/input/es_out.c

index a5f60ab55f44455fad56efb67b939abbf4e33ed2..47887b523c270420342d5b13c83ce95337738a22 100644 (file)
@@ -995,8 +995,9 @@ 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_format_t *p_fmt;
             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 * );
+            p_fmt = (es_format_t*) va_arg( args, es_format_t * );
             if( es == NULL ) return VLC_EGENERIC;
 
             if( p_fmt->i_extra )