[FFmpeg-cvslog] r23751 - trunk/libavcodec/alac.c

mru subversion
Thu Jun 24 10:26:41 CEST 2010


Author: mru
Date: Thu Jun 24 10:26:40 2010
New Revision: 23751

Log:
alac: change VLAs to fixed size

Modified:
   trunk/libavcodec/alac.c

Modified: trunk/libavcodec/alac.c
==============================================================================
--- trunk/libavcodec/alac.c	Thu Jun 24 09:44:50 2010	(r23750)
+++ trunk/libavcodec/alac.c	Thu Jun 24 10:26:40 2010	(r23751)
@@ -547,11 +547,11 @@ static int alac_decode_frame(AVCodecCont
 
     if (!isnotcompressed) {
         /* so it is compressed */
-        int16_t predictor_coef_table[channels][32];
-        int predictor_coef_num[channels];
-        int prediction_type[channels];
-        int prediction_quantitization[channels];
-        int ricemodifier[channels];
+        int16_t predictor_coef_table[MAX_CHANNELS][32];
+        int predictor_coef_num[MAX_CHANNELS];
+        int prediction_type[MAX_CHANNELS];
+        int prediction_quantitization[MAX_CHANNELS];
+        int ricemodifier[MAX_CHANNELS];
         int i, chan;
 
         interlacing_shift = get_bits(&alac->gb, 8);



More information about the ffmpeg-cvslog mailing list