summaryrefslogtreecommitdiff
path: root/libavformat/aiffenc.c
diff options
context:
space:
mode:
authorClément Bœsch <clement@stupeflix.com>2015-11-21 22:05:07 +0100
committerClément Bœsch <clement@stupeflix.com>2015-12-04 15:43:33 +0100
commit43ecec0f0386557ef6f80729ab985098fbee71e8 (patch)
treeea4239f3a3b424a2138bda1d6098920a1df94f35 /libavformat/aiffenc.c
parent0e62b5d1ef1312adb2c4815fcd59c5bcd6dc4419 (diff)
downloadffmpeg-43ecec0f0386557ef6f80729ab985098fbee71e8.tar.gz
avformat: use AV_OPT_TYPE_BOOL in a bunch of places
Diffstat (limited to 'libavformat/aiffenc.c')
-rw-r--r--libavformat/aiffenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/aiffenc.c b/libavformat/aiffenc.c
index 09d91a7e4d..25dc5e6284 100644
--- a/libavformat/aiffenc.c
+++ b/libavformat/aiffenc.c
@@ -305,7 +305,7 @@ static int aiff_write_trailer(AVFormatContext *s)
#define ENC AV_OPT_FLAG_ENCODING_PARAM
static const AVOption options[] = {
{ "write_id3v2", "Enable ID3 tags writing.",
- OFFSET(write_id3v2), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, ENC },
+ OFFSET(write_id3v2), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, ENC },
{ "id3v2_version", "Select ID3v2 version to write. Currently 3 and 4 are supported.",
OFFSET(id3v2_version), AV_OPT_TYPE_INT, {.i64 = 4}, 3, 4, ENC },
{ NULL },