diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 21:38:25 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 21:38:25 +0000 |
commit | 44b73497d31ffad6e0c89927006edeb58654fac3 (patch) | |
tree | 8bc81f4426df427f6f9fe744c9adcdce9e5b0430 /libavfilter | |
parent | 6d8c67a778ea6240a8857242dfd926b2bd990a7a (diff) | |
download | ffmpeg-44b73497d31ffad6e0c89927006edeb58654fac3.tar.gz |
Rename avfilter_create to avfilter_open and remove the wrapper function
avfilter_create_by_name.
Commited in SoC by Bobby Bingham on 2007-08-17 23:39:55
Originally committed as revision 12014 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfilter.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 50d15bf8a7..08007dc221 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -304,7 +304,7 @@ static const char *filter_name(void *p) return filter->filter->name; } -AVFilterContext *avfilter_create(AVFilter *filter, char *inst_name) +AVFilterContext *avfilter_open(AVFilter *filter, char *inst_name) { AVFilterContext *ret = av_malloc(sizeof(AVFilterContext)); @@ -355,14 +355,6 @@ void avfilter_destroy(AVFilterContext *filter) av_free(filter); } -AVFilterContext *avfilter_create_by_name(char *name, char *inst_name) -{ - AVFilter *filt; - - if(!(filt = avfilter_get_by_name(name))) return NULL; - return avfilter_create(filt, inst_name); -} - int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque) { int ret; |