# HG changeset patch # User reimar # Date 1215854594 0 # Node ID 6a283385441b25a5f90cfe4afe7c5c416f513d31 # Parent 9cbd4395dfcab73174c1cebb2a979c01ddd53120 100l, fix MS ADPCM decoding for e.g. http://samples.mplayerhq.hu/mov/qtaudio/surge-2-16-L-ms02.mov First coefficient array must be unsigned to fit in 8 bits diff -r 9cbd4395dfca -r 6a283385441b libmpcodecs/ad_msadpcm.c --- a/libmpcodecs/ad_msadpcm.c Sat Jul 12 08:23:10 2008 +0000 +++ b/libmpcodecs/ad_msadpcm.c Sat Jul 12 09:23:14 2008 +0000 @@ -34,7 +34,7 @@ 768, 614, 512, 409, 307, 230, 230, 230 }; -static const int8_t ms_adapt_coeff1[] = +static const uint8_t ms_adapt_coeff1[] = { 64, 128, 0, 48, 60, 115, 98 };