aboutsummaryrefslogtreecommitdiff
path: root/libavformat/flacenc.c
diff options
context:
space:
mode:
authorClément Bœsch2015-11-21 22:05:07 +0100
committerClément Bœsch2015-12-04 15:43:33 +0100
commit43ecec0f0386557ef6f80729ab985098fbee71e8 (patch)
treeea4239f3a3b424a2138bda1d6098920a1df94f35 /libavformat/flacenc.c
parent0e62b5d1ef1312adb2c4815fcd59c5bcd6dc4419 (diff)
avformat: use AV_OPT_TYPE_BOOL in a bunch of places
Diffstat (limited to 'libavformat/flacenc.c')
-rw-r--r--libavformat/flacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flacenc.c b/libavformat/flacenc.c
index a45f83ec21..321af50e6a 100644
--- a/libavformat/flacenc.c
+++ b/libavformat/flacenc.c
@@ -187,7 +187,7 @@ static int flac_write_packet(struct AVFormatContext *s, AVPacket *pkt)
}
static const AVOption flacenc_options[] = {
- { "write_header", "Write the file header", offsetof(FlacMuxerContext, write_header), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, AV_OPT_FLAG_ENCODING_PARAM },
+ { "write_header", "Write the file header", offsetof(FlacMuxerContext, write_header), AV_OPT_TYPE_BOOL, {.i64 = 1}, 0, 1, AV_OPT_FLAG_ENCODING_PARAM },
{ NULL },
};