[vlc-devel] [PATCH] stream_ReadLine: increase line length limit

Romain Vimont rom1v at videolabs.io
Thu Jul 23 09:29:33 CEST 2020


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


More information about the vlc-devel mailing list