Commit 986f143a authored by Måns Rullgård's avatar Måns Rullgård

alac: change VLAs to fixed size

Originally committed as revision 23751 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent bc2b3682
...@@ -547,11 +547,11 @@ static int alac_decode_frame(AVCodecContext *avctx, ...@@ -547,11 +547,11 @@ static int alac_decode_frame(AVCodecContext *avctx,
if (!isnotcompressed) { if (!isnotcompressed) {
/* so it is compressed */ /* so it is compressed */
int16_t predictor_coef_table[channels][32]; int16_t predictor_coef_table[MAX_CHANNELS][32];
int predictor_coef_num[channels]; int predictor_coef_num[MAX_CHANNELS];
int prediction_type[channels]; int prediction_type[MAX_CHANNELS];
int prediction_quantitization[channels]; int prediction_quantitization[MAX_CHANNELS];
int ricemodifier[channels]; int ricemodifier[MAX_CHANNELS];
int i, chan; int i, chan;
interlacing_shift = get_bits(&alac->gb, 8); interlacing_shift = get_bits(&alac->gb, 8);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment