diff options
author | Martin Storsjö <martin@martin.st> | 2013-09-03 11:54:03 +0300 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-09-07 10:18:41 +0200 |
commit | 3d91117df0034ca9458e4b791a182082a50a6ad9 (patch) | |
tree | 66289e2776cba5003686ed3898122f754ff26933 /libavcodec/dcadata.h | |
parent | 9486e98712879e1f3b2d83bbfc361e402b535005 (diff) | |
download | ffmpeg-3d91117df0034ca9458e4b791a182082a50a6ad9.tar.gz |
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: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit f7c5883126f9440547933eefcf000aa78af4821c)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/dcadata.h')
0 files changed, 0 insertions, 0 deletions