summaryrefslogtreecommitdiff
path: root/libavformat/wv.c
diff options
context:
space:
mode:
authorLaurent Aimar <fenrir@via.ecp.fr>2009-05-06 05:40:43 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2009-05-06 05:40:43 +0000
commit992f7db060736591b76656b55bf2bf6f8ea14be4 (patch)
tree43a52db30bd4da18e39ff250392f446a456cb408 /libavformat/wv.c
parentcabb81113a09f23060f3aa21d68628302c6ff9c8 (diff)
Add floating point audio decoding to WavPack decoder.
Patch by Laurent Aimar (fenrir at `antonym of 'audio'+antonym of 'WAN'` dot org) Originally committed as revision 18754 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/wv.c')
-rw-r--r--libavformat/wv.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavformat/wv.c b/libavformat/wv.c
index 1dda1fdaa2..d46f90d78b 100644
--- a/libavformat/wv.c
+++ b/libavformat/wv.c
@@ -96,11 +96,6 @@ static int wv_read_block_header(AVFormatContext *ctx, ByteIOContext *pb)
get_buffer(pb, wc->extra, WV_EXTRA_SIZE);
wc->flags = AV_RL32(wc->extra + 4);
//parse flags
- if(wc->flags & WV_FLOAT){
- av_log(ctx, AV_LOG_ERROR, "Floating point data is not supported\n");
- return -1;
- }
-
bpp = ((wc->flags & 3) + 1) << 3;
chan = 1 + !(wc->flags & WV_MONO);
rate = wv_rates[(wc->flags >> 23) & 0xF];