Commit 325cb1ef authored by Vitor Sessak's avatar Vitor Sessak

More simplifying

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
parent a3acd1d9
...@@ -206,10 +206,9 @@ static void free_inout(AVFilterInOut *head) ...@@ -206,10 +206,9 @@ static void free_inout(AVFilterInOut *head)
/** /**
* Parse "[a1][link2] ... [etc]" * 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) enum LinkType type, AVFilterContext *filter)
{ {
int pad = firstpad;
while (**buf == '[') { while (**buf == '[') {
AVFilterInOut *inoutn = av_malloc(sizeof(AVFilterInOut)); AVFilterInOut *inoutn = av_malloc(sizeof(AVFilterInOut));
parse_link_name(buf, &inoutn->name); parse_link_name(buf, &inoutn->name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment