diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index 592934c6ff..c4a3bdf8fd 100644 --- a/libavfilter/graphparser.c +++ b/libavfilter/graphparser.c @@ -120,12 +120,12 @@ static AVFilterContext *parse_filter(const char **buf, AVFilterGraph *graph, int index, AVClass *log_ctx) { char *opts = NULL; - char *name = av_get_token(buf, "=,["); + char *name = av_get_token(buf, "=,;[\n"); AVFilterContext *ret; if(**buf == '=') { (*buf)++; - opts = av_get_token(buf, "[],\n"); + opts = av_get_token(buf, "[],;\n"); } ret = create_filter(graph, index, name, opts, log_ctx);