diff adpcm.c @ 10448:b73908dda9b4 libavcodec

Indicate that AdaptCoeff1 and 2 are functions of the actual coefficients.
author daniel
date Thu, 22 Oct 2009 15:57:04 +0000
parents 7955db355703
children 690fa44735ed
line wrap: on
line diff
--- a/adpcm.c	Tue Oct 20 14:16:23 2009 +0000
+++ b/adpcm.c	Thu Oct 22 15:57:04 2009 +0000
@@ -86,10 +86,12 @@
         768, 614, 512, 409, 307, 230, 230, 230
 };
 
+/** Divided by 4 to fit in 8-bit integers */
 static const uint8_t AdaptCoeff1[] = {
         64, 128, 0, 48, 60, 115, 98
 };
 
+/** Divided by 4 to fit in 8-bit integers */
 static const int8_t AdaptCoeff2[] = {
         0, -64, 0, 16, 0, -52, -58
 };