Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-11-19 08:01:01 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-11-19 16:09:02 +0400
commitfdbb6164a208df6d2665453da6d18d2cda13189b (patch)
tree8ae754d73c1afa6616229c563f7e0a1c5931d9e7 /libavcodec/sbr.h
parentb0d83e0dba55c854c932f9d543e6e7ecded1310e (diff)
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>
Diffstat (limited to 'libavcodec/sbr.h')
-rw-r--r--libavcodec/sbr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/sbr.h b/libavcodec/sbr.h
index 7c0afdc84c..1e413967a9 100644
--- a/libavcodec/sbr.h
+++ b/libavcodec/sbr.h
@@ -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];