# HG changeset patch # User mru # Date 1277368000 0 # Node ID 1d6362654d4c90562cf9f35055fd203cc41074ed # Parent ef338bd701807c110e0be66650ab6942a297aa42 alac: change VLAs to fixed size diff -r ef338bd70180 -r 1d6362654d4c alac.c --- a/alac.c Thu Jun 24 07:44:50 2010 +0000 +++ b/alac.c Thu Jun 24 08:26:40 2010 +0000 @@ -547,11 +547,11 @@ 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);