diff options
author | Martin Storsjö <[email protected]> | 2013-09-03 11:54:03 +0300 |
---|---|---|
committer | Luca Barbato <[email protected]> | 2013-09-07 10:18:41 +0200 |
commit | 3d91117df0034ca9458e4b791a182082a50a6ad9 (patch) | |
tree | 66289e2776cba5003686ed3898122f754ff26933 /libavcodec/utils.c | |
parent | 9486e98712879e1f3b2d83bbfc361e402b535005 (diff) |
alac: Limit max_samples_per_frame
Otherwise buffer size calculations in allocate_buffers could
overflow later, making the code think a large enough buffer
actually was allocated.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
Signed-off-by: Martin Storsjö <[email protected]>
(cherry picked from commit f7c5883126f9440547933eefcf000aa78af4821c)
Signed-off-by: Luca Barbato <[email protected]>
Diffstat (limited to 'libavcodec/utils.c')
0 files changed, 0 insertions, 0 deletions