Mercurial > libavformat.hg
changeset 1156:a400f2a2f248 libavformat
skip others fourcc, if present
author | bcoudurier |
---|---|
date | Fri, 07 Jul 2006 08:56:05 +0000 |
parents | e47fea3a5469 |
children | 257e22500af0 |
files | mov.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Fri Jul 07 08:45:50 2006 +0000 +++ b/mov.c Fri Jul 07 08:56:05 2006 +0000 @@ -935,6 +935,12 @@ get_be16(pb); /* reserved */ get_be16(pb); /* index */ + if (st->codec->codec_tag) { + /* multiple fourcc, just skip for now */ + url_fskip(pb, size - (url_ftell(pb) - start_pos)); + continue; + } + st->codec->codec_tag = format; id = codec_get_id(mov_audio_tags, format); if (id > 0) {