diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-11-19 03:08:27 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-11-19 03:08:27 +0000 |
commit | c4d1ecf6a9737516ace4d5648148ec47fc8f9458 (patch) | |
tree | b1f66cfecc7ffddf5a812365dcac609f4b2fc38a | |
parent | f727e7f4c753f68e930eedf23ab2284c36928e1f (diff) | |
download | netpbm-mirror-c4d1ecf6a9737516ace4d5648148ec47fc8f9458.tar.gz netpbm-mirror-c4d1ecf6a9737516ace4d5648148ec47fc8f9458.tar.xz netpbm-mirror-c4d1ecf6a9737516ace4d5648148ec47fc8f9458.zip |
Fix png_create_write_struct() used where png_create_read_struct() belongs
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1015 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | converter/other/pngx.c | 2 | ||||
-rw-r--r-- | doc/HISTORY | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/converter/other/pngx.c b/converter/other/pngx.c index 6d79bcfe..602fdb33 100644 --- a/converter/other/pngx.c +++ b/converter/other/pngx.c @@ -49,7 +49,7 @@ pngx_create(struct pngx ** const pngxPP, else { switch(rw) { case PNGX_READ: - pngxP->png_ptr = png_create_write_struct( + pngxP->png_ptr = png_create_read_struct( PNG_LIBPNG_VER_STRING, jmpbufP, errorHandler, NULL); break; diff --git a/doc/HISTORY b/doc/HISTORY index 66fa6123..41a6f242 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -12,6 +12,9 @@ not yet BJH Release 10.49.00 jpeg2ktopam: Work with JP2 input as well as JPC. + pngtopam: use png_create_read_struct() instead of + png_create_write_struct(). Doesn't seem to affect anything. + 09.09.27 BJH Release 10.48.00 ppmsvgalib: Wait to initialize Svgalib to prevent it from |