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 18:57:06 +0200 |
commit | 45ce880a9b3e50cfa088f111dffaf8685bd7bc6b (patch) | |
tree | 93c4d13e7eba9789d301ab3101157f4417095e4f /libavdevice/avdevice.c | |
parent | 58b68e4fdea22e22178e237bda950b09cc6f363a (diff) | |
download | ffmpeg-45ce880a9b3e50cfa088f111dffaf8685bd7bc6b.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>
Diffstat (limited to 'libavdevice/avdevice.c')
0 files changed, 0 insertions, 0 deletions