1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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

This commit is contained in:
Clément Bœsch 2012-05-19 00:08:26 +02:00
parent 0cc9ee5fab
commit 4fd573970a
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ static int init_filters(const char *filters_descr)
inputs->pad_idx = 0; inputs->pad_idx = 0;
inputs->next = NULL; 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) &inputs, &outputs, NULL)) < 0)
return ret; return ret;

View File

@ -120,7 +120,7 @@ static int init_filters(const char *filters_descr)
inputs->pad_idx = 0; inputs->pad_idx = 0;
inputs->next = NULL; 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) &inputs, &outputs, NULL)) < 0)
return ret; return ret;