From 43ecec0f0386557ef6f80729ab985098fbee71e8 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Sat, 21 Nov 2015 22:05:07 +0100 Subject: avformat: use AV_OPT_TYPE_BOOL in a bunch of places --- libavformat/flacenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/flacenc.c') 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 }, }; -- cgit v1.2.3