wavpack: Don't shift minclip/maxclip
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Thu, 23 Feb 2012 15:55:35 +0000 (10:55 -0500)
committerAnton Khirnov <anton@khirnov.net>
Thu, 23 Feb 2012 19:43:39 +0000 (20:43 +0100)
commit480b133e6f79c470aff0f84d9ed3648d37c32b03
tree61a71c7c0d9b4b9d4e1c0c9d6d24c492c53777fe
parentba605cef7961ee699c893d1a3b5c9730f0a37b6c
wavpack: Don't shift minclip/maxclip

Since we are clipping before we shift the values to
16 or 32 bits, we should not shift the min/max clip
values to compensate.

Fixes 8 and 24 bit lossy decoding.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/wavpack.c