diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-04-04 20:08:31 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-04-04 20:08:31 +0000 |
commit | 3ec394ea823c2a6e65a6abbdb2041ce1c66964f8 (patch) | |
tree | de2b90a2dd6355dec68155f1c98331eaffd8d32c /libavfilter/avfiltergraph.c | |
parent | de065016f0c2fd11e5b9caead313b2da8e48ec29 (diff) | |
download | ffmpeg-streaming-3ec394ea823c2a6e65a6abbdb2041ce1c66964f8.zip ffmpeg-streaming-3ec394ea823c2a6e65a6abbdb2041ce1c66964f8.tar.gz |
Remove ugly forward declaration
Commited in SoC by Vitor Sessak on 2008-02-24 11:41:22
Originally committed as revision 12728 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r-- | libavfilter/avfiltergraph.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index 2c07a92..70610cb 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -22,11 +22,6 @@ #include "avfilter.h" #include "avfiltergraph.h" -extern AVFilter avfilter_vf_scale; -extern AVFilter avfilter_vf_graph; -extern AVFilter avfilter_vf_graphfile; -extern AVFilter avfilter_vf_graphdesc; - typedef struct AVFilterGraph { unsigned filter_count; AVFilterContext **filters; @@ -425,7 +420,8 @@ static int query_formats(AVFilterContext *graphctx) /* couldn't merge format lists. auto-insert scale filter */ AVFilterContext *scale; - if(!(scale = avfilter_open(&avfilter_vf_scale, NULL))) + if(!(scale = + avfilter_open(avfilter_get_by_name("scale"), NULL))) return -1; if(scale->filter->init(scale, NULL, NULL) || avfilter_insert_filter(link, scale, 0, 0)) { |