changeset 7247:35744b4e5082 libavcodec

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:37 +0000
parents c9dc58950620
children 37dd0809921a
files adpcm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/adpcm.c	Sat Jul 12 07:28:45 2008 +0000
+++ b/adpcm.c	Sat Jul 12 09:23:37 2008 +0000
@@ -85,7 +85,7 @@
         768, 614, 512, 409, 307, 230, 230, 230
 };
 
-static const int8_t AdaptCoeff1[] = {
+static const uint8_t AdaptCoeff1[] = {
         64, 128, 0, 48, 60, 115, 98
 };