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

Nicolas George george at nsup.org
Wed Feb 12 21:22:24 CET 2014


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.

Regards,

-- 
  Nicolas George
-------------- 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/20140212/f272ef8d/attachment.asc>


More information about the ffmpeg-devel mailing list