brotli_g_sdk icon indicating copy to clipboard operation
brotli_g_sdk copied to clipboard

unclear if produced streams are directly compatible with vanilla brotli

Open jyrkialakuijala opened this issue 2 years ago • 1 comments

Particularly: is the 32 substreams index table within a brotli comment block.

Dr. Mark Adler foresaw this kind of extensions and demanded that we add a possibility to add comment blocks that will be skipped by the normal decoder. If the index table is the only incompatibility (not clear from the spec if it is even an incompatibility by itself), it could perhaps be nicer for compatibility if the index table could be placed within a comment block.

I'm available to discuss this in a VC if there is interest.

jyrkialakuijala avatar Nov 22 '22 10:11 jyrkialakuijala

i checked it and contrary to the claims ive seen on it being compatible, regular brotli does not accept it

brotli -d F.ktx.brotlig 
input file [F.ktx.brotlig] suffix mismatch

brotli -d F.ktx.brotlig.br 
corrupt input [F.ktx.brotlig.br]

kikaxa avatar Jan 04 '23 12:01 kikaxa