[FFmpeg-devel] [PATCH] RTSP-MS 4/15: blocksize detection

Luca Barbato lu_zero
Thu Jan 8 11:24:08 CET 2009

Ronald S. Bultje wrote:

> Well, that exists of course. We'll never read more than the buffer
> size, and skip the rest until the next packet starts. Now, the problem
> here is: what if the buffer wasn't large enough? We currently just
> re-try to sync on a packet in tcp_read_packet() - i.e. essentially
> skip it, or read as much as the buffer can hold as udp_read_packet().
> Should we fail? Just continue and try to play what we can? In case of
> the latter, which is what you (and Luca B.) appear to be leaning
> towards, the attached patch would be enough and we can forget about
> this whole Blocksize business.

I'd give a try to use blocksize the way the standard defines it, so 
something the client sets and error out if it doesn't come accordingly.

I hope that makes ffmpeg gain support for an optional _stardard_ rtsp 
field ^^



Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC

More information about the ffmpeg-devel mailing list