summaryrefslogtreecommitdiffstats
path: root/src/file_zip.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2010-03-16 22:15:54 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2010-03-16 22:15:54 +0100
commit35ffeed49f5aa3cd81261bdcd8862b96063e47ab (patch)
treee01f6092f41e29ca88c658d658ee03a4cbde0cec /src/file_zip.c
parentf75342338549db225fec9b062199b09796a8c3ec (diff)
PhotoRec: recover Extended Renoise song .xrns files
Diffstat (limited to 'src/file_zip.c')
-rw-r--r--src/file_zip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/file_zip.c b/src/file_zip.c
index b147d05..40e158d 100644
--- a/src/file_zip.c
+++ b/src/file_zip.c
@@ -705,6 +705,9 @@ static int header_check_zip(const unsigned char *buffer, const unsigned int buff
file_recovery_new->extension="docx";
file_recovery_new->file_rename=&file_rename_zip;
}
+ /* Extended Renoise song file */
+ else if(memcmp(&buffer[30], "Song.xml", 8)==0)
+ file_recovery_new->extension="xrns";
else
file_recovery_new->extension=file_hint_zip.extension;
return 1;