[vlc-devel] [PATCH] stream_ReadLine: increase line length limit
Thomas Guillem
thomas at gllm.fr
Thu Jul 23 09:37:04 CEST 2020
We can rewrite the lua module in VLC 4.0 to read per size and not per line (and handle \n ourselves).
But i don't think it's a good idea to do it for VLC 3.0.
Romain, your solution implies to modify the VLC Core APU.
I really don't see how the extended maxline can hurt other VLC components.
On Thu, Jul 23, 2020, at 09:29, Romain Vimont wrote:
> What about adding an explicit max_len parameter:
> char *vlc_stream_ReadLine(stream_t *s, size_t max_len)
> to replace the hardcoded one?
>
> (or in a separate function, that would be called by the current
> vlc_stream_ReadLine() with the hardcoded value)
>
> The expected line limit may depend on the context.
>
> Regards
>
> Le 23 juillet 2020 07:09:50 GMT+02:00, Pierre Ynard via vlc-devel
> <vlc-devel at videolan.org> a écrit :
> >_______________________________________________
> >vlc-devel mailing list
> >To unsubscribe or modify your subscription options:
> >https://mailman.videolan.org/listinfo/vlc-devel
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list