From 8fa339612681ef501a3c74db8e5845cbfffbf2b8 Mon Sep 17 00:00:00 2001 From: maksymsproductengine Date: Thu, 27 Mar 2014 19:15:08 +0200 Subject: MAINT-3827 FIXED crash in KDU texture decoding, likely out of memory: improving stability --- indra/llimage/llimageworker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/llimage/llimageworker.cpp') diff --git a/indra/llimage/llimageworker.cpp b/indra/llimage/llimageworker.cpp index e425823c59..148cf4fa55 100755 --- a/indra/llimage/llimageworker.cpp +++ b/indra/llimage/llimageworker.cpp @@ -143,7 +143,7 @@ bool LLImageDecodeThread::ImageRequest::processRequest() mFormattedImage->getComponents()); } - //if (mDecodedImageRaw->getData())) + if (mDecodedImageRaw->getData()) { done = mFormattedImage->decode(mDecodedImageRaw, decode_time_slice); // 1ms mDecodedRaw = done; @@ -159,7 +159,7 @@ bool LLImageDecodeThread::ImageRequest::processRequest() 1); } - //if (mDecodedImageAux->getData()) + if (mDecodedImageAux->getData()) { done = mFormattedImage->decodeChannels(mDecodedImageAux, decode_time_slice, 4, 4); // 1ms mDecodedAux = done; -- cgit v1.2.3