# HG changeset patch # User kostya # Date 1241588443 0 # Node ID efe6a987fe1a071da8f5a9815735e88defcbf83d # Parent 7c92386eb33912578202595daa1c0daaf829d270 Add floating point audio decoding to WavPack decoder. Patch by Laurent Aimar (fenrir at `antonym of 'audio'+antonym of 'WAN'` dot org) diff -r 7c92386eb339 -r efe6a987fe1a wv.c --- a/wv.c Tue May 05 04:30:08 2009 +0000 +++ b/wv.c Wed May 06 05:40:43 2009 +0000 @@ -96,11 +96,6 @@ 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];