Prevent null data being sent to the decoder

prioritization
Melanie 2009-09-30 22:21:22 +01:00
parent 79ba96ad6f
commit 041aaaa62c
1 changed files with 5 additions and 2 deletions

View File

@ -350,8 +350,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
{
J2KDecodedCallback(m_requestedUUID, new OpenJPEG.J2KLayerInfo[0]);
}
else
{
// Send it off to the jpeg decoder
m_j2kDecodeModule.BeginDecode(m_requestedUUID, Data, J2KDecodedCallback);
}
}
else