Mercurial > libavformat.hg
comparison mov.c @ 1156:a400f2a2f248 libavformat
skip others fourcc, if present
author | bcoudurier |
---|---|
date | Fri, 07 Jul 2006 08:56:05 +0000 |
parents | e47fea3a5469 |
children | 257e22500af0 |
comparison
equal
deleted
inserted
replaced
1155:e47fea3a5469 | 1156:a400f2a2f248 |
---|---|
932 format = get_le32(pb); /* data format */ | 932 format = get_le32(pb); /* data format */ |
933 | 933 |
934 get_be32(pb); /* reserved */ | 934 get_be32(pb); /* reserved */ |
935 get_be16(pb); /* reserved */ | 935 get_be16(pb); /* reserved */ |
936 get_be16(pb); /* index */ | 936 get_be16(pb); /* index */ |
937 | |
938 if (st->codec->codec_tag) { | |
939 /* multiple fourcc, just skip for now */ | |
940 url_fskip(pb, size - (url_ftell(pb) - start_pos)); | |
941 continue; | |
942 } | |
937 | 943 |
938 st->codec->codec_tag = format; | 944 st->codec->codec_tag = format; |
939 id = codec_get_id(mov_audio_tags, format); | 945 id = codec_get_id(mov_audio_tags, format); |
940 if (id > 0) { | 946 if (id > 0) { |
941 st->codec->codec_type = CODEC_TYPE_AUDIO; | 947 st->codec->codec_type = CODEC_TYPE_AUDIO; |