summaryrefslogtreecommitdiff
path: root/image/png.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-31 14:01:49 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-07-31 14:01:49 +0000
commit3128ec1cdc6ebe38f4204265f927487b624ae26f (patch)
tree51844cdf3cc96301ee8760719b88fc36fe70d28f /image/png.h
parente1004a0a817c03d11ffc2f547def4d83c3df80a1 (diff)
downloadnetsurf-3128ec1cdc6ebe38f4204265f927487b624ae26f.tar.gz
netsurf-3128ec1cdc6ebe38f4204265f927487b624ae26f.tar.bz2
Actually handle failure to allocate bitmap structure or retrieve its data buffer pointer. I hope these longjmps are valid -- libpng's documentation is unhelpfully vague on this subject.
svn path=/trunk/netsurf/; revision=8924
Diffstat (limited to 'image/png.h')
-rw-r--r--image/png.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/image/png.h b/image/png.h
index ffabd73b9..a5fa6dfae 100644
--- a/image/png.h
+++ b/image/png.h
@@ -37,7 +37,6 @@ struct content_png_data {
png_infop info;
int interlace;
struct bitmap *bitmap; /**< Created NetSurf bitmap */
- unsigned char *bitbuffer; /**< Bitmap buffer */
size_t rowstride, bpp; /**< Bitmap rowstride and bpp */
size_t rowbytes; /**< Number of bytes per row */
};