diff --git a/libavformat/mov.c b/libavformat/mov.c index c3b1e66503..e6ac071e4f 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -338,9 +338,9 @@ static int mov_read_hdlr(MOVContext *c, ByteIOContext *pb, MOVAtom atom) st->codec->codec_type = CODEC_TYPE_AUDIO; else if(type == MKTAG('m','1','a',' ')) st->codec->codec_id = CODEC_ID_MP2; - else if(type == MKTAG('s','u','b','p')) { + else if(type == MKTAG('s','u','b','p')) st->codec->codec_type = CODEC_TYPE_SUBTITLE; - } + get_be32(pb); /* component manufacture */ get_be32(pb); /* component flags */ get_be32(pb); /* component flags mask */