aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-06-22 14:13:21 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-06-22 23:11:43 +0200
commit012aa12a6bff8333da2165256bae312f6844ab65 (patch)
tree64bb9ecd84b383437a564faf79c6c92112098a45
parent0567715a6b948cbb1251957f7550645d1726cfa0 (diff)
downloadffmpeg-012aa12a6bff8333da2165256bae312f6844ab65.tar.gz
lavfi/drawtext: remove unnecessary parentheses in init()
-rw-r--r--libavfilter/vf_drawtext.c2
1 files changed, 1 insertions, 1 deletions
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;
}