Commit 069612e8 authored by vitor's avatar vitor

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12014 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ba8bf274
...@@ -304,7 +304,7 @@ static const char *filter_name(void *p) ...@@ -304,7 +304,7 @@ static const char *filter_name(void *p)
return filter->filter->name; 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)); AVFilterContext *ret = av_malloc(sizeof(AVFilterContext));
...@@ -355,14 +355,6 @@ void avfilter_destroy(AVFilterContext *filter) ...@@ -355,14 +355,6 @@ void avfilter_destroy(AVFilterContext *filter)
av_free(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 avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque)
{ {
int ret; int ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment