[FFmpeg-cvslog] avfilter/avfilter: Remove CONFIG_MP_FILTER case

Michael Niedermayer git at videolan.org
Sat Jan 31 13:52:44 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jan 31 13:39:45 2015 +0100| [b288f67434db57f3e3c70c59651b4b1ba2e833e2] | committer: Michael Niedermayer

avfilter/avfilter: Remove CONFIG_MP_FILTER case

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b288f67434db57f3e3c70c59651b4b1ba2e833e2
---

 libavfilter/avfilter.c |   15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 76c60c1..1b5cc2f 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -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;



More information about the ffmpeg-cvslog mailing list