summaryrefslogtreecommitdiffstats
path: root/src/file_jpg.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-07-30 10:50:29 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-07-30 10:50:29 +0200
commit5b607f32f398851eab60493e8e4e8e8ebb600dd1 (patch)
tree323a8edac77bb936777ce9df2a599657a3107d4c /src/file_jpg.c
parent8a2bdd4e4426bd5c131ec797b10e69fe273f30ba (diff)
PhotoRec: use .jpg file extension instead of .mpo
Diffstat (limited to 'src/file_jpg.c')
-rw-r--r--src/file_jpg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_jpg.c b/src/file_jpg.c
index a275158..0290c19 100644
--- a/src/file_jpg.c
+++ b/src/file_jpg.c
@@ -356,7 +356,7 @@ static int header_check_jpg(const unsigned char *buffer, const unsigned int buff
file_recovery_new->time=jpg_time;
if(mpo > 0)
{
- file_recovery_new->extension="mpo";
+ file_recovery_new->extension="jpg";
file_recovery_new->file_check=&file_check_mpo;
}
else