fix format

This commit is contained in:
Misha 2023-12-17 09:28:14 -05:00
parent 8b31be1320
commit 8bee9cf71e
No known key found for this signature in database
GPG Key ID: 8441D12AEF33FED8
2 changed files with 10 additions and 11 deletions

View File

@ -32,8 +32,7 @@ MxResult MxStreamChunk::ReadChunk(MxDSBuffer* p_buffer, MxU8* p_chunkData)
MxU32 MxStreamChunk::ReadChunkHeader(MxU8* p_chunkData) MxU32 MxStreamChunk::ReadChunkHeader(MxU8* p_chunkData)
{ {
MxU32 headersize = 0; MxU32 headersize = 0;
if(p_chunkData) if (p_chunkData) {
{
SetFlags(*(MxU16*) p_chunkData); SetFlags(*(MxU16*) p_chunkData);
SetObjectId(*(MxU32*) (p_chunkData + 2)); SetObjectId(*(MxU32*) (p_chunkData + 2));
SetTime(*(MxLong*) (p_chunkData + 6)); SetTime(*(MxLong*) (p_chunkData + 6));