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

Nicolas George george at nsup.org
Wed Feb 19 17:44:55 CET 2014


Le quintidi 15 nivôse, an CCXXII, Michael Niedermayer a écrit :
> 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

This commit somehow disappeared from my tree. Here is a rebased version.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-mux-check-av_dup_packet-return-value.patch
Type: text/x-diff
Size: 1390 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140219/c1fd4bc5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140219/c1fd4bc5/attachment.asc>


More information about the ffmpeg-devel mailing list