X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavformat%2Fwavenc.c;h=0156f6e8a3b11617872d7e75cdde0a43e4bc3a0f;hb=d0aec0aae872d00402e6d81d0884ddbcb657c087;hp=f89c91e8c73a2e023e4a2eaf9c91d6dc2f2174be;hpb=41194f065c8e9b138db069417494e2f845c7b275;p=ffmpeg diff --git a/libavformat/wavenc.c b/libavformat/wavenc.c index f89c91e8c73..0156f6e8a3b 100644 --- a/libavformat/wavenc.c +++ b/libavformat/wavenc.c @@ -502,7 +502,7 @@ static int wav_write_trailer(AVFormatContext *s) #define OFFSET(x) offsetof(WAVMuxContext, x) #define ENC AV_OPT_FLAG_ENCODING_PARAM static const AVOption options[] = { - { "write_bext", "Write BEXT chunk.", OFFSET(write_bext), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, ENC }, + { "write_bext", "Write BEXT chunk.", OFFSET(write_bext), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, ENC }, { "write_peak", "Write Peak Envelope chunk.", OFFSET(write_peak), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 2, ENC, "peak" }, { "off", "Do not write peak chunk.", 0, AV_OPT_TYPE_CONST, { .i64 = PEAK_OFF }, 0, 0, ENC, "peak" }, { "on", "Append peak chunk after wav data.", 0, AV_OPT_TYPE_CONST, { .i64 = PEAK_ON }, 0, 0, ENC, "peak" },