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

Michael Niedermayer michaelni
Mon Oct 11 16:14:46 CEST 2010


On Mon, Oct 11, 2010 at 04:26:59PM +0300, Martin Storsj? wrote:
> 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?

30 lines added, 19 removed

so it seems its more complex after this patch, what do we gain with it?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101011/9228ca71/attachment.pgp>



More information about the ffmpeg-devel mailing list