mirror of https://git.ffmpeg.org/ffmpeg.git
Allow code to pass data to filters it creates.
Commited in SoC by Bobby Bingham on 2007-07-15 16:45:50 Originally committed as revision 11991 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e6f560bbaa
commit
a360f71e3a
|
@ -337,12 +337,12 @@ AVFilterContext *avfilter_create_by_name(char *name, char *inst_name)
|
|||
return avfilter_create(filt, inst_name);
|
||||
}
|
||||
|
||||
int avfilter_init_filter(AVFilterContext *filter, const char *args)
|
||||
int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque)
|
||||
{
|
||||
int ret, i;
|
||||
|
||||
if(filter->filter->init)
|
||||
if((ret = filter->filter->init(filter, args))) return ret;
|
||||
if((ret = filter->filter->init(filter, args, opaque))) return ret;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue