summaryrefslogtreecommitdiffstats
path: root/src/file_asf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-04-19 08:04:25 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-04-19 08:04:25 +0200
commit159604782799ec2aa93176af0ece7b8e03f95440 (patch)
tree4cc2cc299151f3744833e61694ce9b862c2a3da4 /src/file_asf.c
parent6079f96a35d2f43d1496c44000399c43664391fe (diff)
PhotoRec: get .asf date from file header
Diffstat (limited to 'src/file_asf.c')
-rw-r--r--src/file_asf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file_asf.c b/src/file_asf.c
index f7a0359..60e6e8d 100644
--- a/src/file_asf.c
+++ b/src/file_asf.c
@@ -84,6 +84,7 @@ static int header_check_asf(const unsigned char *buffer, const unsigned int buff
file_recovery_new->calculated_file_size=le64(asf_file_prop->file_size);
file_recovery_new->data_check=&data_check_size;
file_recovery_new->file_check=&file_check_size;
+ file_recovery_new->time=td_ntfs2utc(le64(asf_file_prop->file_date));
return 1;
}
if( le64(asf_file_prop->object_size)==0 ||