subtle compile-time error involving the jmp_buf struct, which can be
different sizes depending on what macros are defined. Since libpng and
Mozilla are not necessarily compiled at the same time (at least during
development), the only way to guarantee that their concept of jmp_buf
is consistent is to avoid using it at all in one of them; specifically,
replace libpng's default error-handler with essentially the same thing
within Mozilla. (This will likely be required in a future version of
libpng, btw.)
git-svn-id: svn://10.0.0.236/trunk@44743 18797224-902f-48f8-a5cc-f745e15eee43
- eliminate prototypes for libpng functions already declared in png.h
- eliminate prototype for il_create_alpha_mask() (now deleted)
- add "extern" to prototype for row_callback() (in png_png.cpp)
- eliminate il_png_init_transparency() and il_png_destroy_transparency() (never used)
- ifdef out GIF leftovers in il_png_complete()
- This patch plugs the memory leak. il_png_init() does PR_NEWZAP()on
ic->ds; never freed.
- Removed png_png.cpp
git-svn-id: svn://10.0.0.236/trunk@44728 18797224-902f-48f8-a5cc-f745e15eee43