Added NO_HEADER

This commit is contained in:
David Capello 2008-02-10 18:41:47 +00:00
parent b083623e19
commit 8b365fa3cb
2 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,7 @@ void fli_read_header(FILE *f, s_fli_header *fli_header)
fli_header->speed=fli_read_long(f); /* 16 */
} else {
fprintf(stderr, "error: magic number is wrong !\n");
fli_header->magic = NO_HEADER;
}
}

View File

@ -50,6 +50,7 @@ typedef struct _fli_chunk {
} s_fli_chunk;
/** chunk magics */
#define NO_HEADER 0
#define HEADER_FLI 0xAF11
#define HEADER_FLC 0xAF12
#define FRAME 0xF1FA