Originally committed as revision 12728 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to libavfilter/avfiltergraph.c (1 of 2 files). Show all
Unified · Split
| @@ -22,11 +22,6 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "avfilter.h" |
| 23 | 23 | #include "avfiltergraph.h" |
| 24 | 24 | |
| 25 | −extern AVFilter avfilter_vf_scale; | |
| 26 | −extern AVFilter avfilter_vf_graph; | |
| 27 | −extern AVFilter avfilter_vf_graphfile; | |
| 28 | −extern AVFilter avfilter_vf_graphdesc; | |
| 29 | − | |
| 30 | 25 | typedef struct AVFilterGraph { |
| 31 | 26 | unsigned filter_count; |
| 32 | 27 | AVFilterContext **filters; |
| @@ -425,7 +420,8 @@ static int query_formats(AVFilterContext *graphctx) · 392 unmodified lines | ||
| 425 | 420 | /* couldn't merge format lists. auto-insert scale filter */ |
| 426 | 421 | AVFilterContext *scale; |
| 427 | 422 | |
| 428 | − if(!(scale = avfilter_open(&avfilter_vf_scale, NULL))) | |
| 423 | + if(!(scale = | |
| 424 | + avfilter_open(avfilter_get_by_name("scale"), NULL))) | |
| 429 | 425 | return -1; |
| 430 | 426 | if(scale->filter->init(scale, NULL, NULL) || |
| 431 | 427 | avfilter_insert_filter(link, scale, 0, 0)) { |