doc/examples: make use of the parameter filters_descr parameter in init_filters().
authorClément Bœsch <ubitux@gmail.com>
Fri, 18 May 2012 22:08:26 +0000 (00:08 +0200)
committerClément Bœsch <ubitux@gmail.com>
Sat, 19 May 2012 10:29:05 +0000 (12:29 +0200)
doc/examples/filtering_audio.c
doc/examples/filtering_video.c

index 2207b45..dda5596 100644 (file)
@@ -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;
 
index 1985bc5..29fb77b 100644 (file)
@@ -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;