[FFmpeg-devel] [PATCH] lavf/mux: check av_dup_packet() return value.

Michael Niedermayer michaelni at gmx.at
Sat Jan 4 19:52:36 CET 2014


On Sat, Jan 04, 2014 at 05:39:10PM +0100, Nicolas George wrote:
> 
> Signed-off-by: Nicolas George <george at nsup.org>
> ---
>  libavformat/mux.c |    7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> 
> Simulating the failure (this_pktl->pkt.size = 2000000000) leaks with
> ffmpeg_g, but that is to be expected since it calls exit_program(1)
> immediately.

LGTM

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

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140104/6b684792/attachment.asc>


More information about the ffmpeg-devel mailing list