diff options
author | Cinder Biscuits <cinder@alchemyviewer.org> | 2015-02-26 14:55:50 -0700 |
---|---|---|
committer | Cinder Biscuits <cinder@alchemyviewer.org> | 2015-02-26 14:55:50 -0700 |
commit | d9673d6c1d67ac104fc7872ea2da88560832dd28 (patch) | |
tree | b2ab207152ee7b025eab69eed03733819bdf3d05 /indra/llimage/llpngwrapper.h | |
parent | 4665d35453f00fcccd6e17ea84d0549f62b07c5f (diff) | |
parent | d4a2e9fd9a0e7001a6c824ddd6cf37039a632b9d (diff) |
Merged lindenlab/viewer-tools-update into default
Diffstat (limited to 'indra/llimage/llpngwrapper.h')
-rwxr-xr-x | indra/llimage/llpngwrapper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llimage/llpngwrapper.h b/indra/llimage/llpngwrapper.h index 739f435996..27d7df3bef 100755 --- a/indra/llimage/llpngwrapper.h +++ b/indra/llimage/llpngwrapper.h @@ -44,7 +44,7 @@ public: }; BOOL isValidPng(U8* src); - BOOL readPng(U8* src, LLImageRaw* rawImage, ImageInfo *infop = NULL); + BOOL readPng(U8* src, S32 dataSize, LLImageRaw* rawImage, ImageInfo *infop = NULL); BOOL writePng(const LLImageRaw* rawImage, U8* dst); U32 getFinalSize(); const std::string& getErrorMessage(); @@ -61,6 +61,7 @@ private: { U8 *mData; U32 mOffset; + S32 mDataSize; }; static void writeFlush(png_structp png_ptr); |