diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-05-24 20:41:19 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-05-24 20:41:19 +0000 |
commit | d9d086d9011b6ed13648285ed314f57f726268d5 (patch) | |
tree | 84269574600312bb70302ab08cd416131b31f356 /libavfilter | |
parent | eee68d96d4e592634562860534acb12247b9a454 (diff) | |
download | ffmpeg-d9d086d9011b6ed13648285ed314f57f726268d5.tar.gz |
More cosmetics
Commited in SoC by Vitor Sessak on 2008-04-23 19:13:06
Originally committed as revision 13335 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/graphparser.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index ad1e8d473a..69d7bc4d28 100644 --- a/libavfilter/graphparser.c +++ b/libavfilter/graphparser.c @@ -287,7 +287,7 @@ static int parse_inputs(const char **buf, AVFilterInOut **currInputs, if(match) { /* A label of a open link. Make it one of the inputs of the next filter */ - if (match->type != LinkTypeOut) { + if(match->type != LinkTypeOut) { av_log(log_ctx, AV_LOG_ERROR, "Label \"%s\" appears twice as input!\n", match->name); return -1; @@ -334,7 +334,7 @@ static int parse_outputs(const char **buf, AVFilterInOut **currInputs, if(match) { /* A label of a open link. Link it. */ - if (match->type != LinkTypeIn) { + if(match->type != LinkTypeIn) { av_log(log_ctx, AV_LOG_ERROR, "Label \"%s\" appears twice as output!\n", match->name); return -1; @@ -402,7 +402,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, // First input can be ommitted if it is "[in]" const char *tmp = "[in]"; pad = parse_inputs(&tmp, &currInputs, &openLinks, log_ctx); - if (pad < 0) + if(pad < 0) goto fail; } @@ -417,7 +417,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, consume_whitespace(&filters); chr = *filters++; - if (chr == ';' && currInputs) { + if(chr == ';' && currInputs) { av_log(log_ctx, AV_LOG_ERROR, "Could not find a output to link when parsing \"%s\"\n", filters - 1); |