Compare commits
12 Commits
3b8fd9c901
...
702c44ad94
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
702c44ad94 | ||
|
|
98e1607604 | ||
|
|
da7c3909a1 | ||
|
|
75a6c790d2 | ||
|
|
33514e461d | ||
|
|
4976751876 | ||
|
|
74a37cd640 | ||
|
|
6cae1ecc58 | ||
|
|
3a5862f32f | ||
|
|
ba42231301 | ||
|
|
fb945457e6 | ||
|
|
57cc8935de |
@@ -175,10 +175,9 @@ int main() {
|
||||
}
|
||||
|
||||
fp = fopen("./1.png", "rt");
|
||||
if (fp == NULL) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if (fp == NULL) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
unsigned char *file_data = file_to_char_array(fp, &i);
|
||||
fclose(fp);
|
||||
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#include <stdio.h>
|
||||
|
||||
// PNG File Struct
|
||||
struct PNG
|
||||
|
||||
extern const long png_signature[8];
|
||||
|
||||
int check_header_length(unsigned char *addr, long offset);
|
||||
|
||||
Reference in New Issue
Block a user