summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/file_tiff_le.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/file_tiff_le.c b/src/file_tiff_le.c
index 71ada70..2a4aa92 100644
--- a/src/file_tiff_le.c
+++ b/src/file_tiff_le.c
@@ -526,6 +526,8 @@ int header_check_tiff_le_new(const unsigned char *buffer, const unsigned int buf
file_recovery_new->extension="sr2";
else if(strncmp(tag_make, "SONY ",5)==0)
file_recovery_new->extension="arw";
+ else if(memcmp(tag_make, "NIKON CORPORATION", 18)==0)
+ file_recovery_new->extension="nef";
}
}
file_recovery_new->time=get_date_from_tiff_header(header, buffer_size);