summaryrefslogtreecommitdiffstats
path: root/src/file_jpg.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-12-14 21:31:05 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2013-12-14 21:31:05 +0100
commit11fd4bbc1b5b136e5730899d0c112a555be312e1 (patch)
tree02fd4096f864fb4a36251e5e69b2f83838476e07 /src/file_jpg.c
parent4113d0c38fdf6ea48b27440838813a2a9efb0ba3 (diff)
PhotoRec: fix recovery of some mpo files
Diffstat (limited to 'src/file_jpg.c')
-rw-r--r--src/file_jpg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/file_jpg.c b/src/file_jpg.c
index 4c1a6b6..53d89c1 100644
--- a/src/file_jpg.c
+++ b/src/file_jpg.c
@@ -292,6 +292,8 @@ static int header_check_jpg(const unsigned char *buffer, const unsigned int buff
{
return 0;
}
+ if(file_recovery_new->file_check==&file_check_mpo)
+ return 0;
}
/* Don't extract jpg inside AVI */
if( file_recovery->file_stat->file_hint==&file_hint_riff &&