summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/graphparser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 926ab69052..ad1c5fa609 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -165,9 +165,10 @@ static AVFilterContext *parse_filter(const char **buf, AVFilterGraph *graph,
char *opts = NULL;
char *name = consume_string(buf);
- if(**buf == '=')
+ if(**buf == '=') {
(*buf)++;
opts = consume_string(buf);
+ }
return create_filter(graph, index, name, opts, log_ctx);
}