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

Rémi Denis-Courmont remi at remlab.net
Tue Sep 24 15:07:13 CEST 2013

On Tue, 24 Sep 2013 14:59:02 +0200, Julian Scheel <julian at jusst.de> wrote:
> The realloc caused packet loss?

The performance problem caused packet loss and reallocation contributes to

> Why that?

Reallocation requires memory copying in most cases, and extra heap

> I see that a too small buffer size would cause packet loss,

Eventually the kernel side buffers fill up and overflow. Data gets lost.
It works the same way for DVB or UDP. It is a little bit more subtle for

Rémi Denis-Courmont
Sent from my collocated server

More information about the vlc-devel mailing list