Skip to content
Snippets Groups Projects
Commit 3fa8f263 authored by hexpointer's avatar hexpointer Committed by Michael Niedermayer
Browse files

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: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent 01e545d0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment