[FFmpeg-cvslog] r11991 - trunk/libavfilter/avfilter.c
vitor
subversion
Fri Feb 15 22:36:50 CET 2008
Author: vitor
Date: Fri Feb 15 22:36:50 2008
New Revision: 11991
Log:
Allow code to pass data to filters it creates.
Commited in SoC by Bobby Bingham on 2007-07-15 16:45:50
Modified:
trunk/libavfilter/avfilter.c
Modified: trunk/libavfilter/avfilter.c
==============================================================================
--- trunk/libavfilter/avfilter.c (original)
+++ trunk/libavfilter/avfilter.c Fri Feb 15 22:36:50 2008
@@ -337,12 +337,12 @@ AVFilterContext *avfilter_create_by_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;
}
More information about the ffmpeg-cvslog
mailing list