# HG changeset patch # User michael # Date 1201377004 0 # Node ID 354c859bbf669ac7890a19459a018a18d7f29307 # Parent d016b354f1d17d5ed40334faf57cef759cc9c481 Select non jpeg if there are multiple substreams. diff -r d016b354f1d1 -r 354c859bbf66 mov.c --- a/mov.c Sat Jan 26 02:24:35 2008 +0000 +++ b/mov.c Sat Jan 26 19:50:04 2008 +0000 @@ -600,8 +600,10 @@ get_be16(pb); /* reserved */ get_be16(pb); /* index */ - if (st->codec->codec_tag) { - /* multiple fourcc, just skip for now */ + if (st->codec->codec_tag && st->codec->codec_tag != MKTAG('j', 'p', 'e', 'g')) { + /* multiple fourcc, we skip jpeg, this isnt correct, we should export it as + seperate AVStream but this needs a few changes in the mov demuxer, patch + welcome */ url_fskip(pb, size - (url_ftell(pb) - start_pos)); continue; }