Revision 44b73497 libavfilter/avfilter.c

View differences:

libavfilter/avfilter.c
304 304
    return filter->filter->name;
305 305
}
306 306

  
307
AVFilterContext *avfilter_create(AVFilter *filter, char *inst_name)
307
AVFilterContext *avfilter_open(AVFilter *filter, char *inst_name)
308 308
{
309 309
    AVFilterContext *ret = av_malloc(sizeof(AVFilterContext));
310 310

  
......
355 355
    av_free(filter);
356 356
}
357 357

  
358
AVFilterContext *avfilter_create_by_name(char *name, char *inst_name)
359
{
360
    AVFilter *filt;
361

  
362
    if(!(filt = avfilter_get_by_name(name))) return NULL;
363
    return avfilter_create(filt, inst_name);
364
}
365

  
366 358
int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque)
367 359
{
368 360
    int ret;

Also available in: Unified diff