summaryrefslogtreecommitdiff
path: root/libavformat/wavdec.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-09-11 15:41:18 +0000
committerPaul B Mahol <onemda@gmail.com>2015-09-11 15:41:18 +0000
commitabef6383fb7f9e565fe8879225183a8adf4164d8 (patch)
tree9b0109b2907c339a03ccd2473dc2121eccd9a9c3 /libavformat/wavdec.c
parent25062441554452cbebcf9782e9ea2ef4751908a9 (diff)
avformat/wavdec: use AV_OPT_TYPE_BOOL for ignore_length
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/wavdec.c')
-rw-r--r--libavformat/wavdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c
index 666fa31f1a..ef24e1672c 100644
--- a/libavformat/wavdec.c
+++ b/libavformat/wavdec.c
@@ -636,7 +636,7 @@ static int wav_read_seek(AVFormatContext *s,
#define OFFSET(x) offsetof(WAVDemuxContext, x)
#define DEC AV_OPT_FLAG_DECODING_PARAM
static const AVOption demux_options[] = {
- { "ignore_length", "Ignore length", OFFSET(ignore_length), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, DEC },
+ { "ignore_length", "Ignore length", OFFSET(ignore_length), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, DEC },
{ NULL },
};