summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2015-09-11 21:20:39 +0200
committerClément Bœsch <clement@stupeflix.com>2015-09-12 18:24:49 +0200
commita84613b4c2a514bafa7e1d4b87f5fdf47ea85914 (patch)
treef031141bdd666bee7e5aded5277efc6aa824bada /libavformat
parent7434b9f66f42fda88a8eb988831cfc0c6d942f8e (diff)
avformat/mov: use AV_OPT_TYPE_BOOL for export_{all,xmp} options
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mov.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 471b6ca0ae..c57aaeb178 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -4736,9 +4736,9 @@ static const AVOption mov_options[] = {
{"pts", "pts", 0, AV_OPT_TYPE_CONST, {.i64 = FF_MOV_FLAG_MFRA_PTS}, 0, 0,
FLAGS, "use_mfra_for" },
{ "export_all", "Export unrecognized metadata entries", OFFSET(export_all),
- AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, .flags = FLAGS },
+ AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, .flags = FLAGS },
{ "export_xmp", "Export full XMP metadata", OFFSET(export_xmp),
- AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, .flags = FLAGS },
+ AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, .flags = FLAGS },
{ "activation_bytes", "Secret bytes for Audible AAX files", OFFSET(activation_bytes),
AV_OPT_TYPE_BINARY, .flags = AV_OPT_FLAG_DECODING_PARAM },
{ "audible_fixed_key", // extracted from libAAX_SDK.so and AAXSDKWin.dll files!