diff options
author | Christophe Gisquet <[email protected]> | 2014-08-19 12:26:49 +0000 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2014-09-20 18:40:33 +0200 |
commit | da1a8191c524a122a6656e7dcd05f4c0e2a37088 (patch) | |
tree | 80f08b3778fb23cd4a7e6e1ae47de03ef3e7dfde /libavformat/segment.c | |
parent | dd9b24a48808b9cd31b93e517ff228f497b51b83 (diff) |
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 <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit 2ba58bec20b0039ccc40cfba59af6d56de16e8b1)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavformat/segment.c')
0 files changed, 0 insertions, 0 deletions