You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-16 22:42:38 +02:00
Cosmetics
Commited in SoC by Vitor Sessak on 2008-05-24 17:00:23 Originally committed as revision 13355 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -231,7 +231,6 @@ static int link_filter_inouts(AVFilterContext *filter,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(*currInputs) {
|
if(*currInputs) {
|
||||||
av_log(log_ctx, AV_LOG_ERROR,
|
av_log(log_ctx, AV_LOG_ERROR,
|
||||||
"Too many inputs specified for the \"%s\" filter.\n",
|
"Too many inputs specified for the \"%s\" filter.\n",
|
||||||
@ -357,7 +356,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
|
|||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
if(filter->input_count == 1 && !currInputs && !index) {
|
if(filter->input_count == 1 && !currInputs && !index) {
|
||||||
// First input can be ommitted if it is "[in]"
|
/* First input can be ommitted if it is "[in]" */
|
||||||
const char *tmp = "[in]";
|
const char *tmp = "[in]";
|
||||||
if(parse_inputs(&tmp, &currInputs, &openLinks, log_ctx))
|
if(parse_inputs(&tmp, &currInputs, &openLinks, log_ctx))
|
||||||
goto fail;
|
goto fail;
|
||||||
@ -382,7 +381,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
|
|||||||
} while(chr == ',' || chr == ';');
|
} while(chr == ',' || chr == ';');
|
||||||
|
|
||||||
if(openLinks && !strcmp(openLinks->name, "out") && currInputs) {
|
if(openLinks && !strcmp(openLinks->name, "out") && currInputs) {
|
||||||
// Last output can be ommitted if it is "[out]"
|
/* Last output can be ommitted if it is "[out]" */
|
||||||
const char *tmp = "[out]";
|
const char *tmp = "[out]";
|
||||||
if(parse_outputs(&tmp, &currInputs, &openLinks, log_ctx) < 0)
|
if(parse_outputs(&tmp, &currInputs, &openLinks, log_ctx) < 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
Reference in New Issue
Block a user