mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Prevent null data being sent to the decoder
This commit is contained in:
@@ -350,8 +350,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
{
|
||||
J2KDecodedCallback(m_requestedUUID, new OpenJPEG.J2KLayerInfo[0]);
|
||||
}
|
||||
// Send it off to the jpeg decoder
|
||||
m_j2kDecodeModule.BeginDecode(m_requestedUUID, Data, J2KDecodedCallback);
|
||||
else
|
||||
{
|
||||
// Send it off to the jpeg decoder
|
||||
m_j2kDecodeModule.BeginDecode(m_requestedUUID, Data, J2KDecodedCallback);
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user