doc/examples: make use of the parameter filters_descr parameter in init_filters().

pull/30/merge
Clément Bœsch 13 years ago
parent 0cc9ee5fab
commit 4fd573970a
  1. 2
      doc/examples/filtering_audio.c
  2. 2
      doc/examples/filtering_video.c

@ -129,7 +129,7 @@ static int init_filters(const char *filters_descr)
inputs->pad_idx = 0;
inputs->next = NULL;
if ((ret = avfilter_graph_parse(filter_graph, filter_descr,
if ((ret = avfilter_graph_parse(filter_graph, filters_descr,
&inputs, &outputs, NULL)) < 0)
return ret;

@ -120,7 +120,7 @@ static int init_filters(const char *filters_descr)
inputs->pad_idx = 0;
inputs->next = NULL;
if ((ret = avfilter_graph_parse(filter_graph, filter_descr,
if ((ret = avfilter_graph_parse(filter_graph, filters_descr,
&inputs, &outputs, NULL)) < 0)
return ret;

Loading…
Cancel
Save