Originally committed as revision 23751 to svn://svn.ffmpeg.org/ffmpeg/trunk
| ... | ... |
@@ -547,11 +547,11 @@ static int alac_decode_frame(AVCodecContext *avctx, |
| 547 | 547 |
|
| 548 | 548 |
if (!isnotcompressed) {
|
| 549 | 549 |
/* so it is compressed */ |
| 550 |
- int16_t predictor_coef_table[channels][32]; |
|
| 551 |
- int predictor_coef_num[channels]; |
|
| 552 |
- int prediction_type[channels]; |
|
| 553 |
- int prediction_quantitization[channels]; |
|
| 554 |
- int ricemodifier[channels]; |
|
| 550 |
+ int16_t predictor_coef_table[MAX_CHANNELS][32]; |
|
| 551 |
+ int predictor_coef_num[MAX_CHANNELS]; |
|
| 552 |
+ int prediction_type[MAX_CHANNELS]; |
|
| 553 |
+ int prediction_quantitization[MAX_CHANNELS]; |
|
| 554 |
+ int ricemodifier[MAX_CHANNELS]; |
|
| 555 | 555 |
int i, chan; |
| 556 | 556 |
|
| 557 | 557 |
interlacing_shift = get_bits(&alac->gb, 8); |