On 10/19/2024 7:09 PM, Michael Niedermayer wrote:
On Sat, Oct 19, 2024 at 10:33:58AM -0300, James Almer wrote:
As there's no guarantee that the output will be exactly the same across 
implementations,
just don't test it at all.

Signed-off-by: James Almer <jamr...@gmail.com>

not objecting to this patch but

inflate is 550 lines of code
"Entire inflater (including optional zlib header parsing and Adler-32 checking) is 
implemented in a single function as a coroutine, which is separately available in a small 
(~550 line) source file: miniz_tinfl.c"

how much code do we need to write a simple store (not compress) ?
if i naively assume that decode must suport everything and encode
only one case that it chooses, iam perplexed how we still depend
on zlib for simply storing uncompressed zlib formated data

Well, nobody sets compression_level to 0 when encoding png or anything in any real world scenario, and this wasn't an issue until zlib-ng showed up. But yes, a native uncompressed deflate() implementation was suggested, but nobody volunteered for it.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to