Fix type of shared flac table ff_flac_blocksize_table[].

Fixes ticket #2533.
(cherry picked from commit a07ac1f788)
This commit is contained in:
Carl Eugen Hoyos 2013-05-05 19:29:00 +02:00
parent 38cd7f66b7
commit 6642804c22
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ const int ff_flac_sample_rate_table[16] =
8000, 16000, 22050, 24000, 32000, 44100, 48000, 96000, 8000, 16000, 22050, 24000, 32000, 44100, 48000, 96000,
0, 0, 0, 0 }; 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, 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 256<<0, 256<<1, 256<<2, 256<<3, 256<<4, 256<<5, 256<<6, 256<<7
}; };

View File

@ -26,6 +26,6 @@
extern const int ff_flac_sample_rate_table[16]; 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 */ #endif /* AVCODEC_FLACDATA_H */