Skip to content
Merged
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
2 changes: 1 addition & 1 deletion tools/ld-lds-converter/dataconverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ void DataConverter::unpackFile(void)
while(!isComplete) {
// Input buffer must be divisible by 5 bytes due to 10-bit data format
qint32 bufferSizeInBytes = (5 * 1024 * 1024) * 4; // 5MiB * 4 = 20MiBytes
inputBuffer.resize(bufferSizeInBytes);
inputBuffer.fill(0, bufferSizeInBytes);

// Every 5 input bytes is 4 output words (8 bytes)
outputBuffer.resize((bufferSizeInBytes / 5) * 8);
Expand Down