avfilter/volume: use AV_OPT_TYPE_BOOL for replaygain_noclip option
authorClément Bœsch <u@pkh.me>
Tue, 8 Sep 2015 21:18:33 +0000 (23:18 +0200)
committerClément Bœsch <u@pkh.me>
Tue, 8 Sep 2015 21:18:33 +0000 (23:18 +0200)
libavfilter/af_volume.c

index 54bffa6..57275b4 100644 (file)
@@ -82,7 +82,7 @@ static const AVOption volume_options[] = {
     { "replaygain_preamp", "Apply replaygain pre-amplification",
             OFFSET(replaygain_preamp), AV_OPT_TYPE_DOUBLE, { .dbl = 0.0 }, -15.0, 15.0, A },
     { "replaygain_noclip", "Apply replaygain clipping prevention",
-            OFFSET(replaygain_noclip), AV_OPT_TYPE_INT, { .i64 = 1 }, 0, 1, A },
+            OFFSET(replaygain_noclip), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, A },
     { NULL },
 };