summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-10-16 10:20:53 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-10-16 10:20:53 +0000
commit2a24df9357f89a9fa9d5aaeb4d2a503fa545de27 (patch)
treeedf609a58f5e117da1fdd04c27a0a79a217de502 /ffmpeg.c
parent0b6d358a09ef4dcffb42e54796985685cbb6b21e (diff)
downloadffmpeg-2a24df9357f89a9fa9d5aaeb4d2a503fa545de27.tar.gz
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;