summaryrefslogtreecommitdiffstats
path: root/src/file_caf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_caf.c')
-rw-r--r--src/file_caf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/file_caf.c b/src/file_caf.c
index 23ec910..e36b984 100644
--- a/src/file_caf.c
+++ b/src/file_caf.c
@@ -105,7 +105,8 @@ static int header_check_caf(const unsigned char *buffer, const unsigned int buff
file_recovery_new->extension=file_hint_caf.extension;
file_recovery_new->data_check=&data_check_caf;
file_recovery_new->file_check=&file_check_size;
- file_recovery_new->calculated_file_size=8+12;
+ file_recovery_new->calculated_file_size=8;
+ file_recovery_new->min_filesize=8+12;
return 1;
}