diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-07-12 09:23:14 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-07-12 09:23:14 +0000 |
commit | c83dca172f9c7d2a09ce2f26c4b5c815d50e9cfb (patch) | |
tree | 53c455a64a3ed8bcacb048961132533672d84cd4 /libmpcodecs | |
parent | 4952dbf19a71e64af191e9a91683e35d1839805d (diff) |
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
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/ad_msadpcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 }; |