PhotoRec: add Licom AlphaCAM amb support
This commit is contained in:
parent
2b940811e9
commit
92bdd02413
1 changed files with 5 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: file_doc.c
|
||||
|
||||
Copyright (C) 1998-2007 Christophe GRENIER <grenier@cgsecurity.org>
|
||||
Copyright (C) 1998-2008 Christophe GRENIER <grenier@cgsecurity.org>
|
||||
|
||||
This software is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -171,6 +171,10 @@ static int header_check_doc(const unsigned char *buffer, const unsigned int buff
|
|||
{ /* Publisher */
|
||||
file_recovery_new->extension="pub";
|
||||
}
|
||||
else if(td_memmem(buffer,buffer_size,"L\0i\0c\0o\0m\0",10)!=NULL)
|
||||
{ /* Licom AlphaCAM */
|
||||
file_recovery_new->extension="amb";
|
||||
}
|
||||
else
|
||||
file_recovery_new->extension=file_hint_doc.extension;
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue