diff options
author | Clément Bœsch <u@pkh.me> | 2015-09-08 23:58:59 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-09-08 23:58:59 +0200 |
commit | e1d24e6c1ec2e51eac82cea42bf581eebd664708 (patch) | |
tree | a432601c068c44a1fa0dc74c0d704c5bebb38e58 | |
parent | 1cab6a33cd5b6ccdadd8a0f4d412d758ca53a606 (diff) | |
download | ffmpeg-e1d24e6c1ec2e51eac82cea42bf581eebd664708.tar.gz |
avfilter/elbg: use AV_OPT_TYPE_BOOL for pal8 option
-rw-r--r-- | libavfilter/vf_elbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_elbg.c b/libavfilter/vf_elbg.c index 749c6b4a3e..9805eccbbd 100644 --- a/libavfilter/vf_elbg.c +++ b/libavfilter/vf_elbg.c @@ -58,7 +58,7 @@ static const AVOption elbg_options[] = { { "n", "set max number of steps used to compute the mapping", OFFSET(max_steps_nb), AV_OPT_TYPE_INT, { .i64 = 1 }, 1, INT_MAX, FLAGS }, { "seed", "set the random seed", OFFSET(lfg_seed), AV_OPT_TYPE_INT, {.i64 = -1}, -1, UINT32_MAX, FLAGS }, { "s", "set the random seed", OFFSET(lfg_seed), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, UINT32_MAX, FLAGS }, - { "pal8", "set the pal8 output", OFFSET(pal8), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, FLAGS }, + { "pal8", "set the pal8 output", OFFSET(pal8), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, FLAGS }, { NULL } }; |