Mercurial > libavcodec.hg
comparison alac.c @ 11940:1d6362654d4c libavcodec
alac: change VLAs to fixed size
author | mru |
---|---|
date | Thu, 24 Jun 2010 08:26:40 +0000 |
parents | 7dd2a45249a9 |
children |
comparison
equal
deleted
inserted
replaced
11939:ef338bd70180 | 11940:1d6362654d4c |
---|---|
545 return -1; | 545 return -1; |
546 } | 546 } |
547 | 547 |
548 if (!isnotcompressed) { | 548 if (!isnotcompressed) { |
549 /* so it is compressed */ | 549 /* so it is compressed */ |
550 int16_t predictor_coef_table[channels][32]; | 550 int16_t predictor_coef_table[MAX_CHANNELS][32]; |
551 int predictor_coef_num[channels]; | 551 int predictor_coef_num[MAX_CHANNELS]; |
552 int prediction_type[channels]; | 552 int prediction_type[MAX_CHANNELS]; |
553 int prediction_quantitization[channels]; | 553 int prediction_quantitization[MAX_CHANNELS]; |
554 int ricemodifier[channels]; | 554 int ricemodifier[MAX_CHANNELS]; |
555 int i, chan; | 555 int i, chan; |
556 | 556 |
557 interlacing_shift = get_bits(&alac->gb, 8); | 557 interlacing_shift = get_bits(&alac->gb, 8); |
558 interlacing_leftweight = get_bits(&alac->gb, 8); | 558 interlacing_leftweight = get_bits(&alac->gb, 8); |
559 | 559 |