omadec: make sample rate table large enough to prevent out of array reading.

The new values lead to error messages when used

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2012-04-16 18:13:51 +02:00
parent c963189bc2
commit a30165c4a8
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ enum {
OMA_CODECID_WMA = 5,
};
extern const uint16_t ff_oma_srate_tab[6];
extern const uint16_t ff_oma_srate_tab[8];
extern const AVCodecTag ff_oma_codec_tags[];