src/file_ptf.c: relax Pro Tools ptf file signature

This commit is contained in:
Christophe Grenier 2022-07-14 09:56:49 +02:00
parent c83e2b5d31
commit 3152a49873

View file

@ -59,8 +59,6 @@ static int header_check_ptf(const unsigned char *buffer, const unsigned int buff
file_recovery_new->extension=file_hint_ptf.extension; file_recovery_new->extension=file_hint_ptf.extension;
return 1; return 1;
case 5: case 5:
if(memcmp(&buffer[0x2d], "Pro Tools", 9)!=0)
return 0;
reset_file_recovery(file_recovery_new); reset_file_recovery(file_recovery_new);
file_recovery_new->extension="ptx"; file_recovery_new->extension="ptx";
return 1; return 1;