OSDN Git Service

lavfi/drawtext: remove unnecessary parentheses in init()
authorStefano Sabatini <stefasab@gmail.com>
Fri, 22 Jun 2012 12:13:21 +0000 (14:13 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Fri, 22 Jun 2012 21:11:43 +0000 (23:11 +0200)
libavfilter/vf_drawtext.c

index 484916f..df23d96 100644 (file)
@@ -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;
     }