summaryrefslogtreecommitdiffstats
path: root/src/file_dcm.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2014-08-09 09:43:08 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2014-08-09 09:43:08 +0200
commita322b3f823324677213459d278ca94e6677dd681 (patch)
treef8ee79bce1839bbb94a0091a91bbdf7ee6eb3bec /src/file_dcm.c
parent7702cfd964c5a48489df65b3723a477432055df1 (diff)
PhotoRec: Fix .dcm file recovery
Diffstat (limited to 'src/file_dcm.c')
-rw-r--r--src/file_dcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_dcm.c b/src/file_dcm.c
index 3c7a7d1..b519b3c 100644
--- a/src/file_dcm.c
+++ b/src/file_dcm.c
@@ -54,5 +54,5 @@ static void register_header_check_dcm(file_stat_t *file_stat)
static const unsigned char dcm_header[10]= {
'D' , 'I' , 'C' , 'M' , 0x02, 0x00, 0x00, 0x00,
'U' , 'L' };
- register_header_check(0, dcm_header, sizeof(dcm_header), &header_check_dcm, file_stat);
+ register_header_check(0x80, dcm_header, sizeof(dcm_header), &header_check_dcm, file_stat);
}