summaryrefslogtreecommitdiffstats
path: root/src/file_bac.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_bac.c
parent45903de1b5a8125c86254e2f712bc4f2d3a9f462 (diff)
PhotoRec: better check to avoid to concat mp3 files
Diffstat (limited to 'src/file_bac.c')
-rw-r--r--src/file_bac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_bac.c b/src/file_bac.c
index deb0877..395eb07 100644
--- a/src/file_bac.c
+++ b/src/file_bac.c
@@ -80,7 +80,7 @@ static int header_check_bac(const unsigned char *buffer, const unsigned int buff
file_recovery_new->calculated_file_size=0;
if(file_recovery_new->blocksize >= 0x18/2)
{
- file_recovery_new->data_check=data_check_bac;
+ file_recovery_new->data_check=&data_check_bac;
file_recovery_new->file_check=&file_check_size;
}
return 1;