mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
sbr: increase f_tablelim size, it appears it was too small by 1.
Prevent out of array accesses. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b0d83e0dba
commit
fdbb6164a2
@ -153,7 +153,7 @@ typedef struct SpectralBandReplication {
|
||||
///Frequency borders for noise floors
|
||||
uint16_t f_tablenoise[6];
|
||||
///Frequency borders for the limiter
|
||||
uint16_t f_tablelim[29];
|
||||
uint16_t f_tablelim[30];
|
||||
unsigned num_patches;
|
||||
uint8_t patch_num_subbands[6];
|
||||
uint8_t patch_start_subband[6];
|
||||
|
Loading…
Reference in New Issue
Block a user