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

Francois Cartegnie fcvlcdev at free.fr
Thu Jul 30 17:07:08 CEST 2020

Le 29/07/2020 à 18:26, Pierre Ynard via vlc-devel a écrit :
> I cannot stress enough that the only problem that tokenizing binary
> within lua addresses and solves, is the difficulty of merging into the
> core the changes required to properly support lua features and use
> cases. Do you think this is a real issue?
> Either way, guess what: I don't want that redundant, duplicated
> and unfactorizable awkward binary buffering crap externalized into
> the lua scripts I maintain either. And just handling it within
> vlclua_{demux,stream}_readline would be a solution orders of magnitude
> more sensible.

A common data structure API can probably expose all parsed data formats
(tree, nodes, key val properties), callbacks based (because of HTML
unpaired tags). But that will not be as simple as strstr() & strcmp() in
a line.

Francois Cartegnie
VideoLAN - VLC Developer

More information about the vlc-devel mailing list