changeset 27237:6a283385441b

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
author reimar
date Sat, 12 Jul 2008 09:23:14 +0000
parents 9cbd4395dfca
children 7aa646bb7589
files libmpcodecs/ad_msadpcm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
 };