[FFmpeg-soc] [soc]: r3300 - alacenc/alacenc.c

jai_menon subversion at mplayerhq.hu
Fri Aug 15 08:33:46 CEST 2008


Author: jai_menon
Date: Fri Aug 15 08:33:43 2008
New Revision: 3300

Log:
rename #defined constant for clarity

Modified:
   alacenc/alacenc.c

Modified: alacenc/alacenc.c
==============================================================================
--- alacenc/alacenc.c	(original)
+++ alacenc/alacenc.c	Fri Aug 15 08:33:43 2008
@@ -30,7 +30,7 @@
 #define ALAC_FRAME_FOOTER_SIZE    3
 
 #define ALAC_ESCAPE_CODE          0x1FF
-#define MAX_LPC_COEFFS            31
+#define MAX_LPC_ORDER             30
 
 typedef struct RiceContext {
     int history_mult;
@@ -41,7 +41,7 @@ typedef struct RiceContext {
 
 typedef struct LPCContext {
     int lpc_order;
-    int lpc_coeff[MAX_LPC_COEFFS];
+    int lpc_coeff[MAX_LPC_ORDER+1];
     int lpc_quant;
 } LPCContext;
 



More information about the FFmpeg-soc mailing list