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

Ronald S. Bultje rsbultje
Tue Jan 6 19:25:33 CET 2009


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(..).

Ronald
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtsp-ms-blocksize.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090106/52f539f0/attachment.asc>



More information about the ffmpeg-devel mailing list