summaryrefslogtreecommitdiffstats
path: root/src/file_ptf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_ptf.c')
-rw-r--r--src/file_ptf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file_ptf.c b/src/file_ptf.c
index 4b67da5..358fc48 100644
--- a/src/file_ptf.c
+++ b/src/file_ptf.c
@@ -62,10 +62,10 @@ static int header_check_ptf(const unsigned char *buffer, const unsigned int buff
static void register_header_check_ptf(file_stat_t *file_stat)
{
- static const unsigned char ptf_header[19]= {
+ static const unsigned char ptf_header[18]= {
0x03, '0' , '0' , '1' , '0' , '1' , '1' , '1' ,
'1', '0' , '0' , '1' , '0' , '1' , '0' , '1' ,
- '1', 0x00, 0x01
+ '1', 0x00
};
register_header_check(0, ptf_header, sizeof(ptf_header), &header_check_ptf, file_stat);
}