[FFmpeg-devel] [PATCH] Clean up properly in ffplay

Martin Storsjö martin
Mon May 11 22:09:59 CEST 2009


Hi,

The following two attached patches try to clean up properly in ffplay. The 
first patch adds a few frees to do_exit, similar to ffmpeg.c, and frees 
the VideoState structure in stream_close. The second patch moves 
img_convert_ctx to the VideoState structure, so it can be properly cleaned 
up on exit.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ffplay-cleanup.patch
Type: text/x-diff
Size: 794 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090511/68e965c7/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-move-img_context_ctx-cleanup.patch
Type: text/x-diff
Size: 2117 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090511/68e965c7/attachment-0001.patch>



More information about the ffmpeg-devel mailing list