diff options
author | Philip Pemberton <phil@philpem.me.uk> | 2003-06-05 13:17:55 +0000 |
---|---|---|
committer | Philip Pemberton <phil@philpem.me.uk> | 2003-06-05 13:17:55 +0000 |
commit | 97dea9f287048685c295ba3418f1d0e540c6a10e (patch) | |
tree | 202a31a73300fc54e991c59de8659c22dd71c13a /content/content.c | |
parent | de2c0f5d909e6192785fbaa68736631906f9db1a (diff) | |
download | netsurf-97dea9f287048685c295ba3418f1d0e540c6a10e.tar.gz netsurf-97dea9f287048685c295ba3418f1d0e540c6a10e.tar.bz2 |
[project @ 2003-06-05 13:17:55 by philpem]
Added GIF decode support
svn path=/import/netsurf/; revision=160
Diffstat (limited to 'content/content.c')
-rw-r--r-- | content/content.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/content/content.c b/content/content.c index 2a2cf700e..0538d52c3 100644 --- a/content/content.c +++ b/content/content.c @@ -1,5 +1,5 @@ /** - * $Id: content.c,v 1.9 2003/05/10 11:13:34 bursa Exp $ + * $Id: content.c,v 1.10 2003/06/05 13:17:55 philpem Exp $ */ #include <assert.h> @@ -11,6 +11,7 @@ #include "netsurf/render/textplain.h" #include "netsurf/riscos/jpeg.h" #include "netsurf/riscos/png.h" +#include "netsurf/riscos/gif.h" #include "netsurf/utils/utils.h" @@ -20,6 +21,7 @@ struct mime_entry { content_type type; }; static const struct mime_entry mime_map[] = { + {"image/gif", CONTENT_GIF}, {"image/jpeg", CONTENT_JPEG}, {"image/png", CONTENT_PNG}, {"text/css", CONTENT_CSS}, @@ -49,6 +51,8 @@ static const struct handler_entry handler_map[] = { {css_create, css_process_data, css_convert, css_revive, css_reformat, css_destroy, 0}, {nspng_create, nspng_process_data, nspng_convert, nspng_revive, nspng_reformat, nspng_destroy, nspng_redraw}, + {nsgif_create, nsgif_process_data, nsgif_convert, nsgif_revive, + nsgif_reformat, nsgif_destroy, nsgif_redraw} }; |