[FFmpeg-devel] [PATCH WIP 01/10] ffbuild/bin2c: Use zlib directly instead of gzip
softworkz .
softworkz at hotmail.com
Wed Jun 11 06:05:14 EEST 2025
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Andreas Rheinhardt
> Sent: Dienstag, 3. Juni 2025 16:34
> To: ffmpeg-devel at ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH WIP 01/10] ffbuild/bin2c: Use zlib
> directly instead of gzip
>
Hi Andreas,
thinking about the direction of this patchset, I came to this idea:
How about ditching zlib altogether for this and replace it with some
compact compression code right away?
Something like these might be suitable:
https://github.com/ariya/FastLZ/blob/master/fastlz.c
https://github.com/richgel999/miniz/blob/master/miniz.c
(licenses should be compatible for including the code)
This would solve both problems:
- zlib detection during build
- zlib being unavailable at runtime when linked dynamically
How do you think about this?
I think it wouldn't matter when the compression is slightly less effective..
Best regards
sw
More information about the ffmpeg-devel
mailing list