summaryrefslogtreecommitdiffstats
path: root/src/file_rw2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_rw2.c')
-rw-r--r--src/file_rw2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file_rw2.c b/src/file_rw2.c
index 1310561..639a036 100644
--- a/src/file_rw2.c
+++ b/src/file_rw2.c
@@ -52,8 +52,8 @@ static int header_check_rw2(const unsigned char *buffer, const unsigned int buff
/* Panasonic/Leica */
reset_file_recovery(file_recovery_new);
file_recovery_new->extension="rw2";
- file_recovery_new->time=get_date_from_tiff_header(header, buffer_size);
- file_recovery_new->file_check=&file_check_tiff;
+ file_recovery_new->time=get_date_from_tiff_header(buffer, buffer_size);
+ file_recovery_new->file_check=&file_check_tiff_le;
return 1;
}