remove constants in decoders

This commit is contained in:
2024-12-19 18:28:35 -06:00
parent e3bbb970be
commit df3a3de47c
7 changed files with 15 additions and 20 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ func decodeDataTrackerListChunkData(dataTrackerListChunk Chunk) DataTrackerListC
offset := 0
for offset < int(dataTrackerListChunk.Header.DataLen) {
trackerChunk := DecodeDataTrackerChunk(dataTrackerListChunk.ChunkData[offset:])
offset += CHUNK_HEADER_SIZE
offset += 4
if trackerChunk.Chunk.Header.DataLen > 0 {
offset += int(trackerChunk.Chunk.Header.DataLen)
}