[FFmpeg-devel] [RFC] url_write()

Michael Niedermayer michaelni
Wed Oct 6 13:21:17 CEST 2010


On Wed, Oct 06, 2010 at 08:29:47AM +0200, Reimar D?ffinger wrote:
> On Wed, Oct 06, 2010 at 12:24:44AM +0200, Michael Niedermayer wrote:
> > > How about a
> > > static inline int retry_transfer_wrapper(URLContext *h, const unsigned char *buf, int size,
> > >                                          int (*transfer_func)(URLContext *h, const unsigned char *buf, int size))
> > > 
> > > And using it for both instead of duplicating it?
> > 
> > will commit below soon if you are ok with it
> 
> Looks nice to me.

applied

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

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- 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/20101006/0bc1c240/attachment.pgp>



More information about the ffmpeg-devel mailing list