Skip to content
Snippets Groups Projects
Commit c34dbbae authored by Dominik Loidolt's avatar Dominik Loidolt
Browse files

Fixed chunk compression in the case that the first chunk has 0 data length

parent 4e588617
No related branches found
No related tags found
1 merge request!26Adapt cmp_tool to the chunk decompression
...@@ -2773,7 +2773,7 @@ int32_t compress_chunk(void *chunk, uint32_t chunk_size, ...@@ -2773,7 +2773,7 @@ int32_t compress_chunk(void *chunk, uint32_t chunk_size,
} }
for (read_bytes = 0; for (read_bytes = 0;
read_bytes < chunk_size - COLLECTION_HDR_SIZE; read_bytes <= chunk_size - COLLECTION_HDR_SIZE;
read_bytes += cmp_col_get_size(col)) { read_bytes += cmp_col_get_size(col)) {
uint8_t *col_model = NULL; uint8_t *col_model = NULL;
uint8_t *col_up_model = NULL; uint8_t *col_up_model = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment