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