mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
lavfi: add avfilter_init_str() to replace avfilter_init_filter().
Drop the unused opaque parameter from its signature.
This commit is contained in:
@@ -508,7 +508,14 @@ static int process_unnamed_options(AVFilterContext *ctx, AVDictionary **options,
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if FF_API_AVFILTER_INIT_FILTER
|
||||
int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque)
|
||||
{
|
||||
return avfilter_init_str(filter, args);
|
||||
}
|
||||
#endif
|
||||
|
||||
int avfilter_init_str(AVFilterContext *filter, const char *args)
|
||||
{
|
||||
AVDictionary *options = NULL;
|
||||
AVDictionaryEntry *e;
|
||||
|
||||
Reference in New Issue
Block a user