[FFmpeg-devel] [PATCH] Move url_readbuf() to common functions
Kostya
kostya.shishkov
Thu Jun 4 08:26:30 CEST 2009
On Wed, Jun 03, 2009 at 06:21:22PM +0200, Michael Niedermayer wrote:
> On Wed, Jun 03, 2009 at 06:55:41PM +0300, Kostya wrote:
> > On Wed, Jun 03, 2009 at 05:44:13PM +0200, Michael Niedermayer wrote:
> > > On Tue, Jun 02, 2009 at 06:44:55PM +0300, Kostya wrote:
> > > > Reason: read on network connections may retrieve less bytes than needed
> > > > and we need to call reading function several times until required amount
> > > > of data is read. libavformat/rtsp.c contains such function which I
> > > > propose to move to common place (I use in my RTMP demuxer).
> > >
> > > a demuxer or protocol should return with EAGAIN instead of blocking
> > > if AVFMT_FLAG_NONBLOCK is set.
> > >
> > > that said there is nothing network specific in this and thus network
> > > does not belong in the function name
> > > a reasonable name could be url_read_complete()
> >
> > Any other comments beside appropriate name?
>
> no, you are just moving & renaming a function ...
ok, applied
> [...]
>
> --
> Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
More information about the ffmpeg-devel
mailing list