diff options
author | Christophe Gisquet <[email protected]> | 2014-08-18 14:15:23 +0000 |
---|---|---|
committer | Luca Barbato <[email protected]> | 2014-08-18 18:57:06 +0200 |
commit | 45ce880a9b3e50cfa088f111dffaf8685bd7bc6b (patch) | |
tree | 93c4d13e7eba9789d301ab3101157f4417095e4f /libavcodec/utils.c | |
parent | 58b68e4fdea22e22178e237bda950b09cc6f363a (diff) |
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: [email protected]
Signed-off-by: Diego Biurrun <[email protected]>
Signed-off-by: Luca Barbato <[email protected]>
Diffstat (limited to 'libavcodec/utils.c')
0 files changed, 0 insertions, 0 deletions