From 8884b918984bfe8d72a43a087dd14fce1cdf2a2b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Reimar=20D=C3=B6ffinger?= Date: Sat, 12 Jul 2008 09:23:37 +0000 Subject: [PATCH] 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 Originally committed as revision 14175 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/adpcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index f37c10e..a9a8f74 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -85,7 +85,7 @@ static const int AdaptationTable[] = { 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 }; -- 2.7.4