Compare commits
1 Commits
702c44ad94
...
3b8fd9c901
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b8fd9c901 |
@@ -178,6 +178,7 @@ int main() {
|
||||
if (fp == NULL) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
unsigned char *file_data = file_to_char_array(fp, &i);
|
||||
fclose(fp);
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#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