swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] bug in swfextract


From: Peter Nikolai Stausholm
Subject: [Swftools-common] bug in swfextract
Date: Wed, 4 Nov 2009 15:26:53 +0100

Hi

Adobe Flash player can play a compressed partial swf (where the zlib
compressed stream is truncated before graphics objects (probably an
export option in Adobe Flash - I don't know))

swfextract fails because it expects a full zlib stream, it uses
umcompress from zlib library.

the problem is that uncompress uses inflate(&stream, Z_FINISH); which
expects a full stream instead swfextract should use inflate(&stream,
Z_SYNC_FLUSH);

Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]