From 208363fe2a8a519915123d80f3ca02452aa76eb3 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Fri, 6 May 2011 22:42:37 +0000 Subject: Rename DataTypes related code/files/defines to avoid confusion and aid adding support for other DataType classes. Disable MNG/WebP by default as they aren't common and the required libs are quite large; DataTypes can handle these formats for now. svn path=/trunk/netsurf/; revision=12284 --- amiga/filetype.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'amiga/filetype.c') diff --git a/amiga/filetype.c b/amiga/filetype.c index 9d4414a13..5995ec8d5 100644 --- a/amiga/filetype.c +++ b/amiga/filetype.c @@ -178,6 +178,10 @@ void ami_datatype_to_mimetype(struct DataType *dtn, char *mimetype) { strcpy(mimetype,"image/x-riscos-sprite"); } + if(strcmp("mng",dth->dth_BaseName)==0) + { + strcpy(mimetype,"video/mng"); + } break; case GID_ANIMATION: case GID_MOVIE: -- cgit v1.2.3