[vlc-devel] [PATCH] access: dvb: Realloc block to actually used size.

Julian Scheel julian at jusst.de
Tue Sep 24 10:41:30 CEST 2013


Am 24.09.2013 10:09, schrieb Rémi Denis-Courmont:
> On Tue, 24 Sep 2013 09:43:05 +0200, Denis Charmet <typx at dinauz.org> wrote:
>> In any case, if I'm the only one frowning at the realloc thing, then
>> it's good enough :)
>
> No. I also think reallocating is a bad idea. The buffer is "large" because
> of packet loss in high bandwidth cases. Reducing it is not an option and
> adding more overhead (reallocating) is also not.

What would you suggest to overcome the issue?

> I think the real problem is that stream buffering is not working the way
> it should. Similar issues have also plagued UDP and HTTP at least.

UDP input does the same realloc.



More information about the vlc-devel mailing list