Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-10-16 14:20:53 +0400
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-10-16 14:20:53 +0400
commit2a24df9357f89a9fa9d5aaeb4d2a503fa545de27 (patch)
treeedf609a58f5e117da1fdd04c27a0a79a217de502 /ffmpeg.c
parent0b6d358a09ef4dcffb42e54796985685cbb6b21e (diff)
Add avfilter_graph_config().
Originally committed as revision 25502 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 9513c7f5fc..500ec158cd 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -452,12 +452,7 @@ static int configure_filters(AVInputStream *ist, AVOutputStream *ost)
return ret;
}
- /* configure all the filter links */
- if ((ret = avfilter_graph_check_validity(graph, NULL)) < 0)
- return ret;
- if ((ret = avfilter_graph_config_formats(graph, NULL)) < 0)
- return ret;
- if ((ret = avfilter_graph_config_links(graph, NULL)) < 0)
+ if ((ret = avfilter_graph_config(graph, NULL)) < 0)
return ret;
codec->width = ist->output_video_filter->inputs[0]->w;