Commit 8306be9c authored by Aurelien Jacobs's avatar Aurelien Jacobs

matroskadec: disable h264 parser as long as it totally mess up frame type

Originally committed as revision 19622 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 194d4b49
......@@ -1376,6 +1376,7 @@ static int matroska_read_header(AVFormatContext *s, AVFormatParameters *ap)
st->codec->height * track->video.display_width,
st->codec-> width * track->video.display_height,
255);
if (st->codec->codec_id != CODEC_ID_H264)
st->need_parsing = AVSTREAM_PARSE_HEADERS;
} else if (track->type == MATROSKA_TRACK_TYPE_AUDIO) {
st->codec->codec_type = CODEC_TYPE_AUDIO;
......
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