Skip to content

Commit

Permalink
Merge pull request #2 from schuay/master
Browse files Browse the repository at this point in the history
Port to giflib 5.0.5
  • Loading branch information
schani committed Mar 2, 2014
2 parents 945cbf9 + 4aa28e4 commit 74bc15c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rwgif.c
Expand Up @@ -54,7 +54,8 @@ open_gif_file (const char *filename, int *width, int *height)

assert(data != 0);

data->file = DGifOpenFileName(filename);
int error;
data->file = DGifOpenFileName(filename, &error);

assert(data->file !=0);

Expand Down

0 comments on commit 74bc15c

Please sign in to comment.