summaryrefslogtreecommitdiffstats
path: root/src/file_als.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_als.c')
-rw-r--r--src/file_als.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/file_als.c b/src/file_als.c
index 3bcbd42..c83c3df 100644
--- a/src/file_als.c
+++ b/src/file_als.c
@@ -81,7 +81,5 @@ static void file_check_als(file_recovery_t *file_recovery)
0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
0x80, 0x00, 0x00, 0x00, 0x80, 0x01
};
- file_search_footer(file_recovery, als_footer, sizeof(als_footer));
- if(file_recovery->file_size>0)
- file_recovery->file_size+=7;
+ file_search_footer(file_recovery, als_footer, sizeof(als_footer), 7);
}