From da2ed0b7aad04dfe66b1f98904f9c6ee4c89694d Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Fri, 25 Aug 2023 11:45:44 +0200 Subject: [PATCH] src/file_mov.c: recover "XAVC" videos --- src/file_mov.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/file_mov.c b/src/file_mov.c index d255e547..6339f7d0 100644 --- a/src/file_mov.c +++ b/src/file_mov.c @@ -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;