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 decodeInfoTrackerListChunkData(infoTrackerListChunk Chunk) InfoTrackerListC
offset := 0
for offset < int(infoTrackerListChunk.Header.DataLen) {
trackerChunk := DecodeInfoTrackerChunk(infoTrackerListChunk.ChunkData[offset:])
offset += CHUNK_HEADER_SIZE
offset += 4
if trackerChunk.Chunk.Header.DataLen > 0 {
offset += int(trackerChunk.Chunk.Header.DataLen)
}