[FFmpeg-cvslog] r14175 - trunk/libavcodec/adpcm.c
reimar
subversion
Sat Jul 12 11:23:37 CEST 2008
Author: reimar
Date: Sat Jul 12 11:23:37 2008
New Revision: 14175
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/libavcodec/adpcm.c
Modified: trunk/libavcodec/adpcm.c
==============================================================================
--- trunk/libavcodec/adpcm.c (original)
+++ trunk/libavcodec/adpcm.c Sat Jul 12 11:23:37 2008
@@ -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
};
More information about the ffmpeg-cvslog
mailing list