ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Fri Sep 11 15:41:18 
2015 +0000| [abef6383fb7f9e565fe8879225183a8adf4164d8] | committer: Paul B Mahol

avformat/wavdec: use AV_OPT_TYPE_BOOL for ignore_length

Signed-off-by: Paul B Mahol <one...@gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=abef6383fb7f9e565fe8879225183a8adf4164d8
---

 libavformat/wavdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c
index 666fa31..ef24e16 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 },
 };
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to