aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/wv.c
diff options
context:
space:
mode:
authorDavid Bryant <david@WavPack.com>2007-08-13 05:36:50 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2007-08-13 05:36:50 +0000
commita6ba65f7f282e220f3aae067a89ceedbb3328528 (patch)
treeb30fbd4385f0207d7de3b7b80c5e1fb73bfe4884 /libavformat/wv.c
parent11ead90e233486a02e15cb7df809dafa4068baaa (diff)
downloadffmpeg-a6ba65f7f282e220f3aae067a89ceedbb3328528.tar.gz
Support for WavPack version 0x410 (false stereo chunks)
Patch by David Bryant printf("david@%s.com",wv_demuxer.long_name); Thread [PATCH] handle WavPack stream version 0x410 Originally committed as revision 10101 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/wv.c')
-rw-r--r--libavformat/wv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wv.c b/libavformat/wv.c
index fcadaa01b3..14579db92a 100644
--- a/libavformat/wv.c
+++ b/libavformat/wv.c
@@ -86,7 +86,7 @@ static int wv_read_block_header(AVFormatContext *ctx, ByteIOContext *pb)
}
wc->blksize = size;
ver = get_le16(pb);
- if(ver < 0x402 || ver > 0x40F){
+ if(ver < 0x402 || ver > 0x410){
av_log(ctx, AV_LOG_ERROR, "Unsupported version %03X\n", ver);
return -1;
}