From 992f7db060736591b76656b55bf2bf6f8ea14be4 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Wed, 6 May 2009 05:40:43 +0000 Subject: 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 --- libavformat/wv.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libavformat/wv.c') 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]; -- cgit v1.2.3