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

Luca Barbato lu_zero
Thu Jan 8 01:11:01 CET 2009

Ronald S. Bultje wrote:
> Hi Luca,
> On Tue, Jan 6, 2009 at 10:23 PM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
>> On Tue, Jan 6, 2009 at 4:00 PM, Luca Barbato <lu_zero at gentoo.org> wrote:
>>> Hmm what about just keeping a upper bound and just fetch whatever is in
>>> the packet if it does if?
>> The lower bound is for those streams lacking any Blocksize property
>> (most non-MS RTSP streams), so it's good to have. Or do you mean to
>> always set the buffer size to the max (10* current value)? Sorry, I'm
>> a bit confused...
> Ping, could you clarify this? I'm still confused. :-).

I meant that since we have to decide an arbitrary upper bound we could 
use it (wasting some memory) instead of parsing the Blocksize and adding 
some more code. Your current solution (av_clip) is fine as well, 
probably your proposed solution (avoid to have to use that buffer) could 
be even better.



Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC

More information about the ffmpeg-devel mailing list