Mercurial > libavformat.hg
changeset 4909:efe6a987fe1a libavformat
Add floating point audio decoding to WavPack decoder.
Patch by Laurent Aimar (fenrir at `antonym of 'audio'+antonym of 'WAN'` dot org)
author | kostya |
---|---|
date | Wed, 06 May 2009 05:40:43 +0000 |
parents | 7c92386eb339 |
children | 21f7970b66d4 |
files | wv.c |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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];