Fix type of shared flac table ff_flac_blocksize_table[].

Fixes ticket #2533.
pull/18/head
Carl Eugen Hoyos 12 years ago
parent 2d8dddd926
commit a07ac1f788
  1. 2
      libavcodec/flacdata.c
  2. 2
      libavcodec/flacdata.h

@ -27,7 +27,7 @@ const int ff_flac_sample_rate_table[16] =
8000, 16000, 22050, 24000, 32000, 44100, 48000, 96000,
0, 0, 0, 0 };
const int16_t ff_flac_blocksize_table[16] = {
const int32_t ff_flac_blocksize_table[16] = {
0, 192, 576<<0, 576<<1, 576<<2, 576<<3, 0, 0,
256<<0, 256<<1, 256<<2, 256<<3, 256<<4, 256<<5, 256<<6, 256<<7
};

@ -26,6 +26,6 @@
extern const int ff_flac_sample_rate_table[16];
extern const int16_t ff_flac_blocksize_table[16];
extern const int32_t ff_flac_blocksize_table[16];
#endif /* AVCODEC_FLACDATA_H */

Loading…
Cancel
Save