[FFmpeg-devel] [PATCH] Move url_readbuf() to common functions

Kostya kostya.shishkov
Tue Jun 2 18:42:10 CEST 2009


On Tue, Jun 02, 2009 at 11:49:37AM -0400, Ronald S. Bultje wrote:
> Hi,
> 
> On Tue, Jun 2, 2009 at 11:44 AM, Kostya <kostya.shishkov at gmail.com> 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).
> 
> Why _network? It's just more commonly useful for network input but
> there's nothing network-specific about it...

No, but I don't know any other case where it's useful/possible at all.
 
> Ronald



More information about the ffmpeg-devel mailing list