Move var declaration to where it is needed
authorVitor Sessak <vitor1001@gmail.com>
Sat, 24 May 2008 20:41:01 +0000 (20:41 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Sat, 24 May 2008 20:41:01 +0000 (20:41 +0000)
Commited in SoC by Vitor Sessak on 2008-04-23 18:36:26

Originally committed as revision 13328 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/graphparser.c

index 032d128..e8f26f4 100644 (file)
@@ -273,10 +273,10 @@ static int parse_inputs(const char **buf, AVFilterInOut **currInputs,
                         AVFilterInOut **openLinks, AVClass *log_ctx)
 {
     int pad = 0;
-    AVFilterInOut *p;
 
     while (**buf == '[') {
         char *name;
+        AVFilterInOut *p;
 
         parse_link_name(buf, &name, log_ctx);