diff options
author | Clément Bœsch <clement@stupeflix.com> | 2015-11-22 00:04:39 +0300 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2015-12-04 17:37:05 +0300 |
commit | fb99ef0bd39a1859d0e65c6c16caa8e17dd3cfbe (patch) | |
tree | 1d44b87e82acd5a98851711c31b70482a9b24983 /libavcodec/dvdsubdec.c | |
parent | a611375db532c3d5363d97b10fadd0211811a4fd (diff) |
avcodec: use AV_OPT_TYPE_BOOL in a bunch of places
Diffstat (limited to 'libavcodec/dvdsubdec.c')
-rw-r--r-- | libavcodec/dvdsubdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c index 77da00a0e6..a03b3886a2 100644 --- a/libavcodec/dvdsubdec.c +++ b/libavcodec/dvdsubdec.c @@ -770,7 +770,7 @@ static av_cold int dvdsub_close(AVCodecContext *avctx) static const AVOption options[] = { { "palette", "set the global palette", OFFSET(palette_str), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, SD }, { "ifo_palette", "obtain the global palette from .IFO file", OFFSET(ifo_str), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, SD }, - { "forced_subs_only", "Only show forced subtitles", OFFSET(forced_subs_only), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, SD}, + { "forced_subs_only", "Only show forced subtitles", OFFSET(forced_subs_only), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, SD}, { NULL } }; static const AVClass dvdsub_class = { |