PhotoRec: get .asf date from file header

This commit is contained in:
Christophe Grenier 2013-04-19 08:04:25 +02:00
parent 6079f96a35
commit 1596047827

View file

@ -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->calculated_file_size=le64(asf_file_prop->file_size);
file_recovery_new->data_check=&data_check_size; file_recovery_new->data_check=&data_check_size;
file_recovery_new->file_check=&file_check_size; file_recovery_new->file_check=&file_check_size;
file_recovery_new->time=td_ntfs2utc(le64(asf_file_prop->file_date));
return 1; return 1;
} }
if( le64(asf_file_prop->object_size)==0 || if( le64(asf_file_prop->object_size)==0 ||