avfilter: remove av_opt_set_defaults() from process_options()
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 24 May 2013 13:06:53 +0000 (15:06 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 24 May 2013 13:25:52 +0000 (15:25 +0200)
This is already called from ff_filter_alloc()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/avfilter.c

index 1ea6d8d..c10a81b 100644 (file)
@@ -717,8 +717,6 @@ static int process_options(AVFilterContext *ctx, AVDictionary **options,
     const char *key;
     int offset= -1;
 
-    av_opt_set_defaults(ctx);
-
     if (!args)
         return 0;