Originally committed as revision 16353 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to libavfilter/graphparser.c (1 of 1 file). Show all
Unified · Split
| @@ -351,7 +351,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, · 350 unmodified lines | |||
| 351 | goto fail; | 351 | goto fail; |
| 352 | 352 | ||
| 353 | if(filter->input_count == 1 && !currInputs && !index) { | 353 | if(filter->input_count == 1 && !currInputs && !index) { |
| 354 | /* First input can be ommitted if it is "[in]" */ | 354 | /* First input can be omitted if it is "[in]" */ |
| 355 | const char *tmp = "[in]"; | 355 | const char *tmp = "[in]"; |
| 356 | if(parse_inputs(&tmp, &currInputs, &openOutputs, log_ctx) < 0) | 356 | if(parse_inputs(&tmp, &currInputs, &openOutputs, log_ctx) < 0) |
| 357 | goto fail; | 357 | goto fail; |
| @@ -377,7 +377,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, · 19 unmodified lines | |||
| 377 | } while(chr == ',' || chr == ';'); | 377 | } while(chr == ',' || chr == ';'); |
| 378 | 378 | ||
| 379 | if(openInputs && !strcmp(openInputs->name, "out") && currInputs) { | 379 | if(openInputs && !strcmp(openInputs->name, "out") && currInputs) { |
| 380 | /* Last output can be ommitted if it is "[out]" */ | 380 | /* Last output can be omitted if it is "[out]" */ |
| 381 | const char *tmp = "[out]"; | 381 | const char *tmp = "[out]"; |
| 382 | if(parse_outputs(&tmp, &currInputs, &openInputs, | 382 | if(parse_outputs(&tmp, &currInputs, &openInputs, |
| 383 | &openOutputs, log_ctx) < 0) | 383 | &openOutputs, log_ctx) < 0) |