From c83dca172f9c7d2a09ce2f26c4b5c815d50e9cfb Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 12 Jul 2008 09:23:14 +0000 Subject: 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27269 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ad_msadpcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmpcodecs/ad_msadpcm.c') diff --git a/libmpcodecs/ad_msadpcm.c b/libmpcodecs/ad_msadpcm.c index 5c09e42553..644b3d4d45 100644 --- a/libmpcodecs/ad_msadpcm.c +++ b/libmpcodecs/ad_msadpcm.c @@ -34,7 +34,7 @@ static const int ms_adapt_table[] = 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 }; -- cgit v1.2.3