[FFmpeg-devel] [PATCH] libswresample: check input to swr_convert_frame for NULL

Michael Niedermayer michael at niedermayer.cc
Sat Jul 8 04:19:32 EEST 2017


On Fri, Jul 07, 2017 at 10:54:47AM +0100, hexpointer wrote:
> 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).
> ---
>  libswresample/swresample_frame.c | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)

Is the author value as intended ?
"Author: hexpointer <hexptr at gmx.com>"
Theres no name

(it cannot be changed after pushing)

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170708/37c2c1c2/attachment.sig>


More information about the ffmpeg-devel mailing list