src/file_mov.c: recover "XAVC" videos

This commit is contained in:
Christophe Grenier 2023-08-25 11:45:44 +02:00
parent 979489eff6
commit da2ed0b7aa

View file

@ -335,7 +335,8 @@ static int header_check_mov_aux(const unsigned char *buffer, const unsigned int
memcmp(&buffer[i+8], "mp42", 4)==0 ||
memcmp(&buffer[i+8], "mmp4", 4)==0 ||
memcmp(&buffer[i+8], "M4B", 3)==0 ||
memcmp(&buffer[i+8], "M4P", 3)==0)
memcmp(&buffer[i+8], "M4P", 3)==0 ||
memcmp(&buffer[i+8], "XAVC", 4)==0)
{
reset_file_recovery(file_recovery_new);
file_recovery_new->extension=extension_mp4;