[MPlayer-cvslog] r29025 - trunk/libmpdemux/demux_mf.c

compn subversion at mplayerhq.hu
Sat Mar 21 20:46:14 CET 2009


Author: compn
Date: Sat Mar 21 20:46:13 2009
New Revision: 29025

Log:
map jls (jpeg-ls), thm and db (thumbnails) files to jpg

Modified:
   trunk/libmpdemux/demux_mf.c

Modified: trunk/libmpdemux/demux_mf.c
==============================================================================
--- trunk/libmpdemux/demux_mf.c	Sat Mar 21 18:10:19 2009	(r29024)
+++ trunk/libmpdemux/demux_mf.c	Sat Mar 21 20:46:13 2009	(r29025)
@@ -58,6 +58,8 @@ static int demux_mf_fill_buffer(demuxer_
   return 1;
 }
 
+// force extension/type to have a fourcc
+
 static const struct {
   const char *type;
   uint32_t format;
@@ -65,6 +67,9 @@ static const struct {
   { "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', ' ') },


More information about the MPlayer-cvslog mailing list