PhotoRec: better date/time extraction for JPG file
This commit is contained in:
parent
cf700c7755
commit
db079c0e26
1 changed files with 2 additions and 0 deletions
|
@ -1325,6 +1325,8 @@ static uint64_t jpg_check_structure(file_recovery_t *file_recovery, const unsign
|
|||
const char *ifbytecount=NULL;
|
||||
if(nbytes - (i+0x0A) < tiff_size)
|
||||
tiff_size=nbytes - (i+0x0A);
|
||||
if(file_recovery->time==0)
|
||||
file_recovery->time=get_date_from_tiff_header(tiff, tiff_size);
|
||||
thumb_data=find_tag_from_tiff_header(tiff, tiff_size, TIFFTAG_JPEGIFOFFSET, &potential_error);
|
||||
if(thumb_data!=NULL)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue