forked from hkc/cc-stuff
Made it a bit more silent
This commit message is literally longer than change itself.
This commit is contained in:
parent
d4ca60c9f9
commit
36c19b23dc
|
@ -25,7 +25,7 @@ int main(int argc, char **argv) {
|
|||
unsigned char version = 0;
|
||||
assert(fread(header, 1, 4, fp_in) == 4 && "Failed to read header: not enough bytes");
|
||||
if (0 == memcmp(header, "CCPI", 4)) { // Original CCPI (CPIv0)
|
||||
printf("CPIv0 (old header)\n");
|
||||
version = 0;
|
||||
} else if (0 == memcmp(header, "CPI", 3)) { // Newer CCPI (CPIvX)
|
||||
version = header[3];
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue