Commit ec05b961 authored by vitor's avatar vitor

Remove unnused var

Commited in SoC by Vitor Sessak on 2008-05-24 16:58:58


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13354 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 819b2fc6
...@@ -341,7 +341,6 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, ...@@ -341,7 +341,6 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
{ {
int index = 0; int index = 0;
char chr = 0; char chr = 0;
int pad = 0;
AVFilterInOut *currInputs = NULL; AVFilterInOut *currInputs = NULL;
...@@ -349,9 +348,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, ...@@ -349,9 +348,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
AVFilterContext *filter; AVFilterContext *filter;
filters += consume_whitespace(filters); filters += consume_whitespace(filters);
pad = parse_inputs(&filters, &currInputs, &openLinks, log_ctx); if(parse_inputs(&filters, &currInputs, &openLinks, log_ctx) < 0)
if(pad < 0)
goto fail; goto fail;
filter = parse_filter(&filters, graph, index, log_ctx); filter = parse_filter(&filters, graph, index, log_ctx);
...@@ -362,17 +359,14 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, ...@@ -362,17 +359,14 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
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]";
pad = parse_inputs(&tmp, &currInputs, &openLinks, log_ctx); if(parse_inputs(&tmp, &currInputs, &openLinks, log_ctx))
if(pad < 0)
goto fail; goto fail;
} }
if(link_filter_inouts(filter, &currInputs, &openLinks, log_ctx) < 0) if(link_filter_inouts(filter, &currInputs, &openLinks, log_ctx) < 0)
goto fail; goto fail;
pad = parse_outputs(&filters, &currInputs, &openLinks, log_ctx); if(parse_outputs(&filters, &currInputs, &openLinks, log_ctx))
if(pad < 0)
goto fail; goto fail;
filters += consume_whitespace(filters); filters += consume_whitespace(filters);
......
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