diff options
author | hexpointer <hexptr@gmx.com> | 2017-07-07 10:54:47 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-07-08 18:13:43 +0200 |
commit | 3fa8f263abf90650b62d43cb532cdb8cc5bd7c13 (patch) | |
tree | 96b3024d86b47a54a8ef9eb8707e4ad2f5d84b16 /libavcodec/dds.c | |
parent | 01e545d04680d6398e85eb1b6d937b608b3f72a2 (diff) | |
download | ffmpeg-3fa8f263abf90650b62d43cb532cdb8cc5bd7c13.tar.gz |
libswresample: check input to swr_convert_frame for NULL
When 'out' is an AVFrame that does not have buffers preallocated,
swr_convert_frame tries to allocate buffers of the right size. However
in calculating this size it failed to check for whether 'in' is NULL
(requesting that swr's internal buffers are to be flushed).
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/dds.c')
0 files changed, 0 insertions, 0 deletions