diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2014-08-18 14:15:23 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-08-18 19:03:34 +0200 |
commit | a437298de55c6a6a4f06b12335b3891bf4459082 (patch) | |
tree | 488a87555aa331e30f37841ed6aa1caaa5ee6739 /tools/zmqshell.py | |
parent | e912b0777b24133df27836b6c529faa89af588dc (diff) | |
download | ffmpeg-a437298de55c6a6a4f06b12335b3891bf4459082.tar.gz |
proresenc: Realloc if buffer is too small
The buffer allocation may be incorrect (e.g. with an alpha plane),
and currently causes the buffer to be set to NULL by init_put_bits,
causing a crash later on.
So, detect that situation, and if detected, reallocate the buffer
and ask for a sample that shows the problem.
CC: libav-stable@libav.org
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit 45ce880a9b3e50cfa088f111dffaf8685bd7bc6b)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'tools/zmqshell.py')
0 files changed, 0 insertions, 0 deletions