changeset 28990:e2552a27678c

map jls (jpeg-ls), thm and db (thumbnails) files to jpg
author compn
date Sat, 21 Mar 2009 19:46:13 +0000
parents aa1e43639e47
children 8cf16b1d8dde
files libmpdemux/demux_mf.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mf.c	Sat Mar 21 17:10:19 2009 +0000
+++ b/libmpdemux/demux_mf.c	Sat Mar 21 19:46:13 2009 +0000
@@ -58,6 +58,8 @@
   return 1;
 }
 
+// force extension/type to have a fourcc
+
 static const struct {
   const char *type;
   uint32_t format;
@@ -65,6 +67,9 @@
   { "bmp",  mmioFOURCC('b', 'm', 'p', ' ') },
   { "jpeg", mmioFOURCC('I', 'J', 'P', 'G') },
   { "jpg",  mmioFOURCC('I', 'J', 'P', 'G') },
+  { "jls",  mmioFOURCC('I', 'J', 'P', 'G') },
+  { "thm",  mmioFOURCC('I', 'J', 'P', 'G') },
+  { "db",   mmioFOURCC('I', 'J', 'P', 'G') },
   { "pcx",  mmioFOURCC('p', 'c', 'x', ' ') },
   { "png",  mmioFOURCC('M', 'P', 'N', 'G') },
   { "ptx",  mmioFOURCC('p', 't', 'x', ' ') },