[FFmpeg-devel] zlib decoder

Måns Rullgård mans
Thu Jul 5 20:48:59 CEST 2007


M?ns Rullg?rd <mans at mansr.com> writes:

> Mike Melanson <mike at multimedia.cx> writes:
>
>> M?ns Rullg?rd wrote:
>>> M?ns Rullg?rd <mans at mansr.com> writes:
>>> 
>>>> Here, at long last, is my highly anticipated zlib decoder.
>>>>
>>>> It decompresses a random choice of gzip files I've tried it on
>>>> correctly.  I'm sure there still are corner cases I haven't covered,
>>>> though.  Any help finding, and better yet fixing, these is
>>>> appreciated.
>>> 
>>> Oh, one thing I just remembered I hadn't implemented yet: parsing the
>>> standard zlib header ;-)
>>
>> So, is it good for anything yet? Can it decode compressed QT moov atoms?
>
> Haven't tried.
>
>> ZMBV data?
>
> Yes, after I implemented zlib header parsing.  Will post code later.

Here's the promised code.  It has zlib header handling and some code
moved from macros to functions.

-- 
M?ns Rullg?rd
mans at mansr.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inflate.c
Type: text/x-csrc
Size: 24374 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070705/a0cf701b/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inflate.h
Type: text/x-chdr
Size: 2001 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070705/a0cf701b/attachment.h>



More information about the ffmpeg-devel mailing list