diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index 484916f952..df23d9688c 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -394,7 +394,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) dtext->class = &drawtext_class; av_opt_set_defaults(dtext); - if ((err = (av_set_options_string(dtext, args, "=", ":"))) < 0) { + if ((err = av_set_options_string(dtext, args, "=", ":")) < 0) { av_log(ctx, AV_LOG_ERROR, "Error parsing options string: '%s'\n", args); return err; }