diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2014-08-19 12:26:49 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-28 18:44:37 +0100 |
commit | 80b6632b360a6647c1fac798f2af474380cffe8a (patch) | |
tree | ecd013fa9bdc810d863e8551dd1bd6c9694e8e9c /libavcodec/aac_parser.c | |
parent | 656bf0ca79baa7adb64df7c71b8ad6211fb99cdb (diff) | |
download | ffmpeg-80b6632b360a6647c1fac798f2af474380cffe8a.tar.gz |
wavpackenc: proper buffer allocation
The allocation didn't account for headers, that can be easily 79 bytes.
As a result, buffers allocated for a few samples (e.g. 5 in the original
bug) could be undersized.
Fixed ticket #2881.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 2ba58bec20b0039ccc40cfba59af6d56de16e8b1)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/aac_parser.c')
0 files changed, 0 insertions, 0 deletions