diff options
author | Christophe Grenier <[email protected]> | 2025-06-22 19:44:19 +0200 |
---|---|---|
committer | Christophe Grenier <[email protected]> | 2025-06-22 19:44:19 +0200 |
commit | 67c32df3adff8453c15ac48eed9672b34b0b20e6 (patch) | |
tree | 765a3d86d65654e2f440cccc5273466eb30f3f41 | |
parent | 04d54fe4fb7914ee279690e4fe0b63e4508dfbf0 (diff) |
src/file_x4a.c: Fix size detection
-rw-r--r-- | src/file_x4a.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/file_x4a.c b/src/file_x4a.c index 3370c5bb..642bf38b 100644 --- a/src/file_x4a.c +++ b/src/file_x4a.c @@ -80,10 +80,7 @@ static void file_check_x4a(file_recovery_t *fr) if(tmp > fs) fs = tmp; } - { - const struct x4a_catalog *p = (const struct x4a_catalog *)buffer; - fr->file_size = (uint64_t)fs + be32(p->size); - } + fr->file_size = (uint64_t)fs + 32; } /*@ |