mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 01:42:20 +00:00
avfilter/avfilter: Remove CONFIG_MP_FILTER case
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a34f4e2fd2
commit
b288f67434
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user