diff options
author | Måns Rullgård <mans@mansr.com> | 2010-06-24 08:26:40 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-06-24 08:26:40 +0000 |
commit | 986f143a388bdeb6d641df0c4cf7a76fbecdeb41 (patch) | |
tree | 03604c8cbfcc95c84457d4cb16fcffb60cb06c8b /libavcodec/alac.c | |
parent | bc2b368215b4fb8848c2788b773a565ec0ed1471 (diff) | |
download | ffmpeg-986f143a388bdeb6d641df0c4cf7a76fbecdeb41.tar.gz |
alac: change VLAs to fixed size
Originally committed as revision 23751 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r-- | libavcodec/alac.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c index 50fc7a1a3f..07b03c126f 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -547,11 +547,11 @@ static int alac_decode_frame(AVCodecContext *avctx, 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); |