Commit d05b5799 authored by reimar's avatar reimar

Set st->need_parsing = 2 for MPEG-content.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7158 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent baf3d35d
......@@ -130,11 +130,13 @@ static int get_sindex(AVFormatContext *s, int id, int format) {
case 20:
st->codec->codec_type = CODEC_TYPE_VIDEO;
st->codec->codec_id = CODEC_ID_MPEG2VIDEO;
st->need_parsing = 2; // get keyframe flag etc.
break;
case 22:
case 23:
st->codec->codec_type = CODEC_TYPE_VIDEO;
st->codec->codec_id = CODEC_ID_MPEG1VIDEO;
st->need_parsing = 2; // get keyframe flag etc.
break;
case 9:
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