[PATCH] Enabled float support in wavpack demuxer.

Laurent Aimar fenrir
Tue May 5 21:18:55 CEST 2009


---
 libavformat/wv.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/libavformat/wv.c b/libavformat/wv.c
index 1dda1fd..d46f90d 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];
-- 
1.5.6.5


--BwCQnh7xodEAoBMC--



More information about the ffmpeg-devel mailing list