fixed errors in gif loading

This commit is contained in:
2021-05-12 19:59:44 +02:00
parent 7f60bf88f2
commit bd2905ffa2
5 changed files with 54 additions and 11 deletions

2
gif.c
View File

@@ -381,6 +381,8 @@ static int process_extension( unsigned char* buffer )
*/
unsigned char* LoadPalette(unsigned char *buffer) {
bbb = buffer;
unsigned char header[7];
screen_descriptor_t screen_descriptor;
int color_resolution_bits;