Browse Source

avfilter/graphparser: fix use of deprecated symbols

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 11 years ago
parent
commit
1350a5c4d5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/graphparser.c

+ 1
- 1
libavfilter/graphparser.c View File

@@ -545,7 +545,7 @@ int avfilter_graph_parse_ptr(AVFilterGraph *graph, const char *filters,
if ((ret = parse_filter(&filter, &filters, graph, index, log_ctx)) < 0)
goto end;

if (filter->input_count == 1 && !curr_inputs && !index) {
if (filter->nb_inputs == 1 && !curr_inputs && !index) {
/* First input pad, assume it is "[in]" if not specified */
const char *tmp = "[in]";
if ((ret = parse_inputs(&tmp, &curr_inputs, &open_outputs, log_ctx)) < 0)


Loading…
Cancel
Save