comparison mov.c @ 3300:5d77af33c378 libavformat

warn about multiple fourcc
author bcoudurier
date Tue, 20 May 2008 02:22:44 +0000
parents 80a497804aa8
children 11b6da5ffe78
comparison
equal deleted inserted replaced
3299:80a497804aa8 3300:5d77af33c378
695 : st->codec->codec_tag != MKTAG('j','p','e','g')) 695 : st->codec->codec_tag != MKTAG('j','p','e','g'))
696 ){ 696 ){
697 /* Multiple fourcc, we skip JPEG. This is not correct, we should 697 /* Multiple fourcc, we skip JPEG. This is not correct, we should
698 * export it as a separate AVStream but this needs a few changes 698 * export it as a separate AVStream but this needs a few changes
699 * in the MOV demuxer, patch welcome. */ 699 * in the MOV demuxer, patch welcome. */
700 av_log(c->fc, AV_LOG_WARNING, "multiple fourcc not supported\n");
700 url_fskip(pb, size - (url_ftell(pb) - start_pos)); 701 url_fskip(pb, size - (url_ftell(pb) - start_pos));
701 continue; 702 continue;
702 } 703 }
703 sc->pseudo_stream_id = st->codec->codec_tag ? -1 : pseudo_stream_id; 704 sc->pseudo_stream_id = st->codec->codec_tag ? -1 : pseudo_stream_id;
704 sc->dref_id= dref_id; 705 sc->dref_id= dref_id;