Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/KaxBlock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -540,9 +540,9 @@ filepos_t KaxInternalBlock::ReadData(IOCallback & input, ScopeMode ReadFully)
} else {
// read the number of frames in the lace
std::uint32_t LastBufferSize = GetSize() - BlockHeadSize - 1; // 1 for number of frame
const std::uint8_t FrameNum = Mem.GetUInt8(); // number of frames in the lace - 1
const unsigned FrameNum = Mem.GetUInt8(); // number of frames in the lace - 1
// read the list of frame sizes
std::uint8_t Index;
unsigned Index;
std::int32_t FrameSize;
std::uint32_t SizeRead;
std::uint64_t SizeUnknown;
Expand Down Expand Up @@ -668,9 +668,9 @@ filepos_t KaxInternalBlock::ReadData(IOCallback & input, ScopeMode ReadFully)
// read the number of frames in the lace
const std::uint32_t TotalLacedSize = GetSize() - BlockHeadSize - 1; // 1 for number of frame
std::uint32_t LastBufferSize = TotalLacedSize;
const std::uint8_t FrameNum = _TempHead[0]; // number of frames in the lace - 1
const unsigned FrameNum = _TempHead[0]; // number of frames in the lace - 1
// read the list of frame sizes
std::uint8_t Index;
unsigned Index;
std::uint32_t FrameSize;
std::uint32_t SizeRead;
std::uint64_t SizeUnknown;
Expand Down
Loading