# HG changeset patch # User compn # Date 1237664773 0 # Node ID e2552a27678c4f40e6ece52a87c3766bc7559ff3 # Parent aa1e43639e47fb2714345bf1a3600da9a09e5ac3 map jls (jpeg-ls), thm and db (thumbnails) files to jpg diff -r aa1e43639e47 -r e2552a27678c libmpdemux/demux_mf.c --- 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', ' ') },