[FFmpeg-devel] [PATCH 2/2] zlib fallbacks for pngdec and zmbv.

Hendrik Leppkes h.leppkes at gmail.com
Thu Mar 24 17:14:49 CET 2016


On Thu, Mar 24, 2016 at 4:33 PM, Reimar Döffinger
<Reimar.Doeffinger at gmx.de> wrote:
> This should demonstrate how well or badly the
> minimal inflate fits into code designed around zlib.
> I am not clear on whether the pngdec implementation
> was done explicitly to save memory, some other reason,
> or possibly for no good reason at all.
>

This seems like a whole lot of (ugly) code. If multiple zlib variants
should be supported (and I personally question that as well, and my
main platform is one without native zlib), then ifdef'ing every single
usage of it in the code is not the way to go, IMHO.

- Hendrik


More information about the ffmpeg-devel mailing list