diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-03-17 19:44:24 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-04-11 20:39:13 +0200 |
commit | 48a5adab62bd2a553f5069d41fa632a0701835e5 (patch) | |
tree | c779ce2ea3ad4465279db314a0c3d75cd368b30e /libavfilter/avfilter.c | |
parent | 1565cbc65cbb9f95c11367314a080068895e0cf0 (diff) | |
download | ffmpeg-48a5adab62bd2a553f5069d41fa632a0701835e5.tar.gz |
lavfi: add avfilter_init_str() to replace avfilter_init_filter().
Drop the unused opaque parameter from its signature.
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r-- | libavfilter/avfilter.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index c32ae1745a..cbe3fdbd71 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -508,8 +508,15 @@ 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; int ret=0; |