[FFmpeg-devel] [PATCH] Make sure ff_network_close is called if protocol open functions fail

Martin Storsjö martin
Thu Mar 4 23:26:18 CET 2010


Hi,

Currently, a failure in the tcp_open/udp_open functions will "leak" one 
ff_network_init call. The attached patch makes sure to clean up this 
properly in all (hopefully?) codepaths.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleanup-network-close.patch
Type: text/x-diff
Size: 2259 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100305/464d2083/attachment.patch>



More information about the ffmpeg-devel mailing list