History

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

Originally committed as revision 13354 to svn://svn.ffmpeg.org/ffmpeg/trunk

Vitor Sessak committed 18 years ago

Commit 5b310151 parent c8807911 file · +3 −9Browse files

Showing the changes to libavfilter/graphparser.c (1 of 1 file). Show all

Unified · Split

libavfilter/graphparser.c+3−9
@@ -341,7 +341,6 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, · 340 unmodified lines
341341 {
342342 int index = 0;
343343 char chr = 0;
344− int pad = 0;
345344
346345 AVFilterInOut *currInputs = NULL;
347346
@@ -349,9 +348,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, · 1 unmodified line
349348 AVFilterContext *filter;
350349 filters += consume_whitespace(filters);
351350
352− pad = parse_inputs(&filters, &currInputs, &openLinks, log_ctx);
353−
354− if(pad < 0)
351+ if(parse_inputs(&filters, &currInputs, &openLinks, log_ctx) < 0)
355352 goto fail;
356353
357354 filter = parse_filter(&filters, graph, index, log_ctx);
@@ -362,17 +359,14 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, · 4 unmodified lines
362359 if(filter->input_count == 1 && !currInputs && !index) {
363360 // First input can be ommitted if it is "[in]"
364361 const char *tmp = "[in]";
365− pad = parse_inputs(&tmp, &currInputs, &openLinks, log_ctx);
366− if(pad < 0)
362+ if(parse_inputs(&tmp, &currInputs, &openLinks, log_ctx))
367363 goto fail;
368364 }
369365
370366 if(link_filter_inouts(filter, &currInputs, &openLinks, log_ctx) < 0)
371367 goto fail;
372368
373− pad = parse_outputs(&filters, &currInputs, &openLinks, log_ctx);
374−
375− if(pad < 0)
369+ if(parse_outputs(&filters, &currInputs, &openLinks, log_ctx))
376370 goto fail;
377371
378372 filters += consume_whitespace(filters);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t