diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-10-16 14:20:53 +0400 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-10-16 14:20:53 +0400 |
commit | 2a24df9357f89a9fa9d5aaeb4d2a503fa545de27 (patch) | |
tree | edf609a58f5e117da1fdd04c27a0a79a217de502 /ffmpeg.c | |
parent | 0b6d358a09ef4dcffb42e54796985685cbb6b21e (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.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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; |