mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-12 18:25:03 +00:00
skip others fourcc, if present
Originally committed as revision 5654 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
421de2575b
commit
e7cc4b52f9
@ -935,6 +935,12 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
|
|||||||
get_be16(pb); /* reserved */
|
get_be16(pb); /* reserved */
|
||||||
get_be16(pb); /* index */
|
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;
|
st->codec->codec_tag = format;
|
||||||
id = codec_get_id(mov_audio_tags, format);
|
id = codec_get_id(mov_audio_tags, format);
|
||||||
if (id > 0) {
|
if (id > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user