diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-05-19 00:08:26 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-05-19 12:29:05 +0200 |
commit | 4fd573970af4b1667d9da28a7c8e018de59c53ab (patch) | |
tree | 3e8f928abcfda00ec8e59330707380fefd36cb97 | |
parent | 0cc9ee5fab1fae2438303bb0bddca94930928e91 (diff) | |
download | ffmpeg-4fd573970af4b1667d9da28a7c8e018de59c53ab.tar.gz |
doc/examples: make use of the parameter filters_descr parameter in init_filters().
-rw-r--r-- | doc/examples/filtering_audio.c | 2 | ||||
-rw-r--r-- | doc/examples/filtering_video.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/filtering_audio.c b/doc/examples/filtering_audio.c index 2207b458fe..dda55964fc 100644 --- a/doc/examples/filtering_audio.c +++ b/doc/examples/filtering_audio.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; diff --git a/doc/examples/filtering_video.c b/doc/examples/filtering_video.c index 1985bc5f86..29fb77bcaa 100644 --- a/doc/examples/filtering_video.c +++ b/doc/examples/filtering_video.c @@ -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; |