Author | SHA1 | Message | Date |
---|---|---|---|
|
3fa8f263ab |
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> |
7 years ago |
|
b7d5e016a3 |
swresample: Add AVFrame based API
Based on commit
|
10 years ago |