[vlc-devel] [PATCH] Fix a huge leak in smem module
christophe.courtaut at gmail.com
Sat Sep 19 17:30:42 CEST 2009
> I merged this and the fixed audio patch. But I cannot pretend I am a big fan
> of this forced memory copy. Why don't you pass the buffers to the user
It was done as it is here in the vmem module, and more than that,
i think user doesn't wan't to have a preallocated buffer form a library.
As it is done, a user can have a huge memory space preallocated, and just pass
to smem module a pointer to somewhere in his kind of buffer pool, thing that i
can't do if we give him allocated buffer.
I think it is more flexible this way.
Etudiant a Epitech, Ingenierie en Informatique (Promo 2010)
More information about the vlc-devel