[vlc-devel] [PATCH 1/2] access/udp: use MSG_PEEK for non-linux cases to check new size

Rémi Denis-Courmont remi at remlab.net
Fri Oct 26 18:24:37 CEST 2018


Le vendredi 26 octobre 2018, 19:15:10 EEST Ilkka Ollakka a écrit :
> ---
>  modules/access/udp.c | 36 ++++++++++++++++++++++++++++--------
>  1 file changed, 28 insertions(+), 8 deletions(-)

I doubt that allocating 64 KiB on the stack is a good idea.

And this is essentially worse performance-wise than copying memory.

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list