[FFmpeg-devel] [PATCH] tools/uncoded_frame: fix double free

Michael Niedermayer michaelni at gmx.at
Thu Feb 13 00:56:50 CET 2014


On Wed, Feb 12, 2014 at 09:22:24PM +0100, Nicolas George wrote:
> Le quartidi 24 pluviôse, an CCXXII, Lukasz Marek a écrit :
> > in case av_interleaved_write_uncoded_frame fails it seems
> > frame is freed for the second time in fail section.
> > 
> > Signed-off-by: Lukasz Marek <lukasz.m.luki at gmail.com>
> > ---
> >  tools/uncoded_frame.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> You are right, since this:
> 
> 394fb56 lavf: always unref the packet passed to av_interleaved_write_frame()
>         on error
> 
> Thanks for the patch, LGTM.

applied

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

What does censorship reveal? It reveals fear. -- Julian Assange
-------------- 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/20140213/17abcef6/attachment.asc>


More information about the ffmpeg-devel mailing list