[Swfdec] [RFC] ijg libjpeg based jpeg decoder

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Tue Sep 16 08:13:42 PDT 2008


Hi,

jpeg decoding is a hot topic again, or better, having fun crashing the
dsjpeg library is :) So the attached patch refresh the ijg libjpeg based
decoder patch i've already posted there.

The changelog:

- some changes to swfdec/Makefile.am were missing

- added the same check added to dsjpeg to avoid crashing against
cookiemon.jpg

- made swfdec_jpeg_decode_argb a bit prettier than last time removing the
soi cleanup loops and removing one for eoi too: a simpler check for soi is
done in swfdec_jpeg_fill_input_buffer() as in gnash.

image-lossless-alpha.swf test is expected to fail, which is the jpeg with
alpha channel and i don't know how and if it is possible to fix that.

Comments are appreciated.

cheers,
riccardo


More information about the Swfdec mailing list