ref: db6ba0ba18e02d73fcfcbdbddde043f8b841130f
parent: f5debdea11d7e557cacc8d101d2b37784cba2668
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Tue Aug 6 06:57:49 EDT 2002
Document png_init_io() not working on win32 when libpng is a dll. Please link statically. git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@180 ded80894-8fb9-0310-811b-c03f3676ab4d
--- a/jbig2_image_png.c
+++ b/jbig2_image_png.c
@@ -8,7 +8,7 @@
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
- $Id: jbig2_image_png.c,v 1.6 2002/07/20 17:23:15 giles Exp $
+ $Id: jbig2_image_png.c,v 1.7 2002/08/06 10:57:49 giles Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -73,6 +73,9 @@
return 4;
}
+ /* note that this doesn't work linking dynamically to libpng on win32
+ one has to either link statically or use callbacks because of runtime
+ variations */s
png_init_io(png, out);
/* now we fill out the info structure with our format data */