Commit 824e6e6a authored by aurel's avatar aurel

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19622 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6f416e41
......@@ -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