From: PHO Date: Fri, 15 Jul 2011 18:20:50 +0000 (+0900) Subject: still working on getWordsLossless... X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=wavpack.git;a=commitdiff_plain;h=2860b0f8e75b1c9ee60bf301a6035c5397adc5ad still working on getWordsLossless... --- diff --git a/Codec/Audio/WavPack/Words.hs b/Codec/Audio/WavPack/Words.hs index ae61d8a..92282cc 100644 --- a/Codec/Audio/WavPack/Words.hs +++ b/Codec/Audio/WavPack/Words.hs @@ -162,7 +162,7 @@ getWordsLossless isMono w0 bs0 nSamples0 go2 0 w bs n v = let ent = getEntropy n w low = 0 - high = getMedian0 ent + high = getMedian0 ent - 1 ent' = decMedian0 ent w' = setEntropy ent' n w in