[FFmpeg-devel] [PATCH] [RFC] proof-of-concept minimal inflate.

Ronald S. Bultje rsbultje at gmail.com
Sun Mar 6 14:43:15 CET 2016


Hi,

On Sat, Mar 5, 2016 at 5:34 PM, Reimar Döffinger <Reimar.Doeffinger at gmx.de>
wrote:

> FFmpeg currently lacks a fallback inflate algorithm
> when zlib is not available.
>

This wouldn't be the first time we NIH'ed something, so that by itself
isn't a sufficiently good reason to not use it :)

We have a lot of infrastructure for it already available
> though, like VLC code reading (though only in libavcodec,
> not libavutil).
> This is a hackish quick-and-dirty version.
> It certainly is not optimized, and I would want it to
> be mostly small/simple, not necessarily fast anyway
> as it would at most be a fallback.
> Is there interest in me cleaning up the code and
> integrating it as fallback, or are you all happy
> with zlib and I should drop it?


Well, you skim over performance, it'd be nice to get some figures of how
much faster/slower it is. Binary size may also be a factor in some
situations (if zlib is included static).

How often is zlib not available? I mean, afaik, it's even present on MSVC
builds or iPhone/Android builds. I think we sort of have to quantify how
much of an issue this really is.

Ronald


More information about the ffmpeg-devel mailing list