More simplifying
authorVitor Sessak <vitor1001@gmail.com>
Sat, 24 May 2008 20:39:39 +0000 (20:39 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Sat, 24 May 2008 20:39:39 +0000 (20:39 +0000)
Commited in SoC by Vitor Sessak on 2008-04-10 18:26:40

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

libavfilter/graphparser.c

index 5d68839..d9760ff 100644 (file)
@@ -206,10 +206,9 @@ static void free_inout(AVFilterInOut *head)
 /**
  * Parse "[a1][link2] ... [etc]"
  */
-static int parse_inouts(const char **buf, AVFilterInOut **inout, int firstpad,
+static int parse_inouts(const char **buf, AVFilterInOut **inout, int pad,
                         enum LinkType type, AVFilterContext *filter)
 {
-    int pad = firstpad;
     while (**buf == '[') {
         AVFilterInOut *inoutn = av_malloc(sizeof(AVFilterInOut));
         parse_link_name(buf, &inoutn->name);