Commit 350b6e8c authored by bcoudurier's avatar bcoudurier

skip others fourcc, if present

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5654 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8350680c
......@@ -935,6 +935,12 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment