Commit 582c6087 authored by vitor's avatar vitor

More simplifying

Commited in SoC by Vitor Sessak on 2008-04-10 18:26:40


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13303 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d2b9df4b
...@@ -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