diff options
author | Clément Bœsch <clement@stupeflix.com> | 2015-11-21 22:04:39 +0100 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2015-12-04 15:37:05 +0100 |
commit | fb99ef0bd39a1859d0e65c6c16caa8e17dd3cfbe (patch) | |
tree | 1d44b87e82acd5a98851711c31b70482a9b24983 /libavcodec/dcadec.c | |
parent | a611375db532c3d5363d97b10fadd0211811a4fd (diff) | |
download | ffmpeg-fb99ef0bd39a1859d0e65c6c16caa8e17dd3cfbe.tar.gz |
avcodec: use AV_OPT_TYPE_BOOL in a bunch of places
Diffstat (limited to 'libavcodec/dcadec.c')
-rw-r--r-- | libavcodec/dcadec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c index 186b99d798..4283adf99f 100644 --- a/libavcodec/dcadec.c +++ b/libavcodec/dcadec.c @@ -2040,8 +2040,8 @@ static const AVProfile profiles[] = { }; static const AVOption options[] = { - { "disable_xch", "disable decoding of the XCh extension", offsetof(DCAContext, xch_disable), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM }, - { "disable_xll", "disable decoding of the XLL extension", offsetof(DCAContext, xll_disable), AV_OPT_TYPE_INT, { .i64 = 1 }, 0, 1, AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM }, + { "disable_xch", "disable decoding of the XCh extension", offsetof(DCAContext, xch_disable), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM }, + { "disable_xll", "disable decoding of the XLL extension", offsetof(DCAContext, xll_disable), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM }, { NULL }, }; |