Changes to assist in building on Linux, more attempts at stopping OpenJPEG(?) related crashes, disabled being logged out for going AFK by default.

This commit is contained in:
CharleyLevenque
2010-08-28 02:22:41 -04:00
parent e91444a907
commit 9d1073ac40
6 changed files with 16 additions and 13 deletions

View File

@@ -114,6 +114,7 @@ BOOL LLImageJ2COJ::decodeImpl(LLImageJ2C &base, LLImageRaw &raw_image, F32 decod
// FIXME: Get the comment field out of the texture
//
if (!base.getData()) return FALSE;
if (!base.getDataSize()) return FALSE;
LLTimer decode_timer;
@@ -419,6 +420,7 @@ BOOL LLImageJ2COJ::getMetadata(LLImageJ2C &base)
// FIXME: We get metadata by decoding the ENTIRE image.
//
if (!base.getData()) return FALSE;
if (!base.getDataSize()) return FALSE;
// Update the raw discard level
base.updateRawDiscardLevel();