[FFmpeg-devel] [PATCH] Add a new flag AVFMT_NETWORK

Martin Storsjö martin
Mon Oct 11 15:26:59 CEST 2010


Hi,

By adding a flag AVFMT_NETWORK, we could move calling 
ff_network_init()/ff_network_close to common code in utils.c, instead of 
having to have this in the muxers/demuxers that use network functions 
before opening protocols.

This allows us to remove the extra ff_network_init/ff_network_close calls 
from the rtsp/sdp/sap demuxers/muxers open/close functions, as in the 
second patch.

Opinions?

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-new-flag-AVFMT_NETWORK-for-automatically-initi.patch
Type: text/x-diff
Size: 3412 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101011/eca2a7e5/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Remove-redundant-ff_network_-calls.patch
Type: text/x-diff
Size: 3907 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101011/eca2a7e5/attachment-0001.patch>



More information about the ffmpeg-devel mailing list