diff options
Diffstat (limited to 'src/gif.c')
-rw-r--r-- | src/gif.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -77,6 +77,8 @@ static int gif_read(struct image *img){ img->buf[j++] = colormap[idx].Blue; } + img->state = LOADED; + return 0; } @@ -88,6 +90,7 @@ void gif_close(struct image *img){ struct imageformat giflib = { gif_open, + NULL, gif_read, gif_close }; |