summaryrefslogtreecommitdiffstats
path: root/src/file_emf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2014-03-30 19:31:33 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2014-03-30 19:31:33 +0200
commita23c1b5a884bd22aa0eb9d9889c2e3980126925e (patch)
treec1709f604541cc41c5722d4f7bb1026bd4b5bff6 /src/file_emf.c
parent45903de1b5a8125c86254e2f712bc4f2d3a9f462 (diff)
PhotoRec: better check to avoid to concat mp3 files
Diffstat (limited to 'src/file_emf.c')
-rw-r--r--src/file_emf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_emf.c b/src/file_emf.c
index 7f18652..bd6f068 100644
--- a/src/file_emf.c
+++ b/src/file_emf.c
@@ -222,7 +222,7 @@ static int header_check_emf(const unsigned char *buffer, const unsigned int buff
const unsigned int atom_size=buffer[4]+(buffer[5]<<8)+(buffer[6]<<16)+(buffer[7]<<24);
reset_file_recovery(file_recovery_new);
file_recovery_new->extension=file_hint_emf.extension;
- file_recovery_new->data_check=data_check_emf;
+ file_recovery_new->data_check=&data_check_emf;
file_recovery_new->file_check=&file_check_size;
file_recovery_new->calculated_file_size=atom_size;
return 1;