summaryrefslogtreecommitdiffstats
path: root/src/file_mp3.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2014-07-26 18:44:42 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2014-07-26 18:44:42 +0200
commit71133cd98617acb921535443173b569e85488f67 (patch)
tree82638537a11d458b47303ed2d10fc67e37c93963 /src/file_mp3.c
parent0b07c7e4e94808c6c961ec36078eb71d49843cd6 (diff)
PhotoRec: disable data check of .mp3 files for small blocksize
Diffstat (limited to 'src/file_mp3.c')
-rw-r--r--src/file_mp3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_mp3.c b/src/file_mp3.c
index 765d9b1..2a236d0 100644
--- a/src/file_mp3.c
+++ b/src/file_mp3.c
@@ -220,7 +220,7 @@ static int header_check_mp3(const unsigned char *buffer, const unsigned int buff
file_recovery_new->calculated_file_size=potential_frame_offset;
file_recovery_new->min_filesize=287;
file_recovery_new->extension=file_hint_mp3.extension;
- if(file_recovery_new->blocksize >= 16/2)
+ if(file_recovery_new->blocksize >= 16)
{
file_recovery_new->data_check=&data_check_mp3;
file_recovery_new->file_check=&file_check_size;