Commit 1baf26db authored by Laurent Aimar's avatar Laurent Aimar

Do not check file size coherency on multi-parts rar.

Some tools seem to generate multi-parts rar where only the first chunk
contains the actual file size.
parent 62d4347c
...@@ -201,7 +201,6 @@ static int SkipFile(stream_t *s, int *count, rar_file_t ***file, const rar_block ...@@ -201,7 +201,6 @@ static int SkipFile(stream_t *s, int *count, rar_file_t ***file, const rar_block
if (current && if (current &&
(current->is_complete || (current->is_complete ||
current->size != file_size ||
strcmp(current->name, name) || strcmp(current->name, name) ||
(hdr->flags & RAR_BLOCK_FILE_HAS_PREVIOUS) == 0)) (hdr->flags & RAR_BLOCK_FILE_HAS_PREVIOUS) == 0))
current = NULL; current = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment