summaryrefslogtreecommitdiff
path: root/libavcodec/libaribb24.c
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2019-02-11 02:09:48 +0200
committerJan Ekström <jeebjp@gmail.com>2019-02-12 20:16:40 +0200
commit1ed9e8e9377d4c63e2921efc0b1e444120c06de1 (patch)
tree6125c8e01a9cc6eb941806c9d9a0acb4147f949e /libavcodec/libaribb24.c
parent03824afdb4a5ad25c18775b6992bb3959eb82d85 (diff)
lavc/libaribb24: add missing type struct members to AVOptions
Diffstat (limited to 'libavcodec/libaribb24.c')
-rw-r--r--libavcodec/libaribb24.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libaribb24.c b/libavcodec/libaribb24.c
index 43da2b675d..28f20ca767 100644
--- a/libavcodec/libaribb24.c
+++ b/libavcodec/libaribb24.c
@@ -367,9 +367,9 @@ static void libaribb24_flush(AVCodecContext *avctx)
#define SD AV_OPT_FLAG_SUBTITLE_PARAM | AV_OPT_FLAG_DECODING_PARAM
static const AVOption options[] = {
{ "aribb24-base-path", "set the base path for the libaribb24 library",
- OFFSET(aribb24_base_path), AV_OPT_TYPE_STRING, { 0 }, 0, 0, SD },
+ OFFSET(aribb24_base_path), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, SD },
{ "aribb24-skip-ruby-text", "skip ruby text blocks during decoding",
- OFFSET(aribb24_skip_ruby), AV_OPT_TYPE_BOOL, { 1 }, 0, 1, SD },
+ OFFSET(aribb24_skip_ruby), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, SD },
{ NULL }
};