[MPlayer-cvslog] r27269 - trunk/libmpcodecs/ad_msadpcm.c
reimar
subversion at mplayerhq.hu
Sat Jul 12 11:23:14 CEST 2008
Author: reimar
Date: Sat Jul 12 11:23:14 2008
New Revision: 27269
Log:
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
Modified:
trunk/libmpcodecs/ad_msadpcm.c
Modified: trunk/libmpcodecs/ad_msadpcm.c
==============================================================================
--- trunk/libmpcodecs/ad_msadpcm.c (original)
+++ trunk/libmpcodecs/ad_msadpcm.c Sat Jul 12 11:23:14 2008
@@ -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
};
More information about the MPlayer-cvslog
mailing list