avfilter/avfilter: Remove CONFIG_MP_FILTER case
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 31 Jan 2015 12:39:45 +0000 (13:39 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 31 Jan 2015 12:47:17 +0000 (13:47 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/avfilter.c

index 76c60c1..1b5cc2f 100644 (file)
@@ -965,21 +965,6 @@ int avfilter_init_str(AVFilterContext *filter, const char *args)
                 goto fail;
 #endif
         } else {
-#if CONFIG_MP_FILTER
-            if (!strcmp(filter->filter->name, "mp")) {
-                char *escaped;
-
-                if (!strncmp(args, "filter=", 7))
-                    args += 7;
-                ret = av_escape(&escaped, args, ":=", AV_ESCAPE_MODE_BACKSLASH, 0);
-                if (ret < 0) {
-                    av_log(filter, AV_LOG_ERROR, "Unable to escape MPlayer filters arg '%s'\n", args);
-                    goto fail;
-                }
-                ret = process_options(filter, &options, escaped);
-                av_free(escaped);
-            } else
-#endif
             ret = process_options(filter, &options, args);
             if (ret < 0)
                 goto fail;