avfilter/volume: use AV_OPT_TYPE_BOOL for replaygain_noclip option

This commit is contained in:
Clément Bœsch 2015-09-08 23:18:33 +02:00
parent 5c64ae64bd
commit ed28dd6301

View 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 },
};