diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-07-12 09:23:37 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-07-12 09:23:37 +0000 |
commit | 8884b918984bfe8d72a43a087dd14fce1cdf2a2b (patch) | |
tree | 97bc351dea7fc2d4b96991cb28724cd8ed76d9cc | |
parent | ff2271267e06a8720fea9661756d05d887f97650 (diff) | |
download | ffmpeg-8884b918984bfe8d72a43a087dd14fce1cdf2a2b.tar.gz |
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
-rw-r--r-- | libavcodec/adpcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index f37c10e0f5..a9a8f74d9b 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 }; |