Skip to content

Commit

Permalink
avformat/oggparseogm: Enable parser for mpeg4
Browse files Browse the repository at this point in the history
Fixes regression with iJi.ogv

Signed-off-by: Michael Niedermayer <[email protected]>
  • Loading branch information
michaelni committed Oct 30, 2015
1 parent bd1d67e commit a7af002
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libavformat/oggparseogm.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ ogm_header(AVFormatContext *s, int idx)
tag = bytestream2_get_le32(&p);
st->codec->codec_id = ff_codec_get_id(ff_codec_bmp_tags, tag);
st->codec->codec_tag = tag;
if (st->codec->codec_id == AV_CODEC_ID_MPEG4)
st->need_parsing = AVSTREAM_PARSE_HEADERS;
} else if (bytestream2_peek_byte(&p) == 't') {
st->codec->codec_type = AVMEDIA_TYPE_SUBTITLE;
st->codec->codec_id = AV_CODEC_ID_TEXT;
Expand Down

0 comments on commit a7af002

Please sign in to comment.