summaryrefslogtreecommitdiffstats
path: root/src/file_riff.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-06-23 18:57:30 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-06-23 18:57:30 +0200
commit813f8cc70a01b7275f1e38829f11f5cca372c902 (patch)
tree99523be377279882954533e6e06d8d3f3380f1ee /src/file_riff.c
parentc62ef5bb5b0a3659dd2805cfdc3ecda1cb3d774f (diff)
PhotoRec: add file format name near the extension
Diffstat (limited to 'src/file_riff.c')
-rw-r--r--src/file_riff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file_riff.c b/src/file_riff.c
index 037b86c..ef41b60 100644
--- a/src/file_riff.c
+++ b/src/file_riff.c
@@ -67,6 +67,7 @@ static int header_check_riff(const unsigned char *buffer, const unsigned int buf
file_recovery_new->extension="cdr";
else if(memcmp(&buffer[8],"NUND",4)==0)
{
+ /* Cubase Project File */
file_recovery_new->extension="cpr";
file_recovery_new->calculated_file_size=(((uint64_t)buffer[4])<<24) + (((uint64_t)buffer[5])<<16) +
(((uint64_t)buffer[6])<<8) + (uint64_t)buffer[7] + 12;