summaryrefslogtreecommitdiff
path: root/amiga/filetype.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-05-06 22:42:37 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-05-06 22:42:37 +0000
commit208363fe2a8a519915123d80f3ca02452aa76eb3 (patch)
treeb168143a3383e7ad99ba15c92e018efc185d7800 /amiga/filetype.c
parente71691bae890040b83cfd54a2d9a1097d5026866 (diff)
downloadnetsurf-208363fe2a8a519915123d80f3ca02452aa76eb3.tar.gz
netsurf-208363fe2a8a519915123d80f3ca02452aa76eb3.tar.bz2
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
Diffstat (limited to 'amiga/filetype.c')
-rw-r--r--amiga/filetype.c4
1 files changed, 4 insertions, 0 deletions
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: