aboutsummaryrefslogtreecommitdiffstats
path: root/src/gif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gif.c')
-rw-r--r--src/gif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gif.c b/src/gif.c
index 17e5d4d..8887efd 100644
--- a/src/gif.c
+++ b/src/gif.c
@@ -45,6 +45,8 @@ static struct image *gif_open(FILE *f){
g->img.bufwidth = gif->SWidth;
g->img.bufheight = gif->SHeight;
+ g->img.fmt = &giflib;
+
return (struct image *)g;
}