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

Luca Barbato lu_zero
Tue Jan 6 22:00:43 CET 2009

Ronald S. Bultje wrote:
> Hi,
> On Tue, Jan 6, 2009 at 11:15 AM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
>> That's a good point, I will introduce a max. size
>> (RTP_MAX_PACKET_LENGTH*10 or so)? ASF usually has ~4kb blocksizes
>> (google it, you'll get a few random SETUP responses),
>> MAX_PACKET_LENGTH is 1.5 kb or so, 15kb sould be more than enough.
> Attached does that by replacing FFMAX(..) with av_clip(..).

Hmm what about just keeping a upper bound and just fetch whatever is in 
the packet if it does if?



Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC

More information about the ffmpeg-devel mailing list