aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/avdevice.c
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2014-08-18 14:15:23 +0000
committerLuca Barbato <lu_zero@gentoo.org>2014-08-18 18:57:06 +0200
commit45ce880a9b3e50cfa088f111dffaf8685bd7bc6b (patch)
tree93c4d13e7eba9789d301ab3101157f4417095e4f /libavdevice/avdevice.c
parent58b68e4fdea22e22178e237bda950b09cc6f363a (diff)
downloadffmpeg-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