file_riff.c: Fix regression introduced in #bd92f8847e15aadfe676e7e56e3f934547dd762b
This commit is contained in:
parent
b24ea8407a
commit
8469f754c7
1 changed files with 3 additions and 1 deletions
|
@ -222,7 +222,9 @@ static int header_check_riff(const unsigned char *buffer, const unsigned int buf
|
|||
{
|
||||
/* Cubase Project File */
|
||||
file_recovery_new->extension="cpr";
|
||||
file_recovery_new->calculated_file_size+=4;
|
||||
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;
|
||||
return 1;
|
||||
}
|
||||
if(memcmp(&buffer[8],"AVI ",4)==0)
|
||||
|
|
Loading…
Reference in a new issue