avfilter/extrastereo: use AV_OPT_TYPE_BOOL for clipping option

This commit is contained in:
Clément Bœsch 2015-09-08 23:14:00 +02:00
parent fad0841869
commit 6d79aae63c

View File

@ -35,7 +35,7 @@ typedef struct ExtraStereoContext {
static const AVOption extrastereo_options[] = {
{ "m", "set the difference coefficient", OFFSET(mult), AV_OPT_TYPE_FLOAT, {.dbl=2.5}, -10, 10, A },
{ "c", "enable clipping", OFFSET(clip), AV_OPT_TYPE_INT, {.i64=1}, 0, 1, A },
{ "c", "enable clipping", OFFSET(clip), AV_OPT_TYPE_BOOL, {.i64=1}, 0, 1, A },
{ NULL }
};