Fix raw vc1 decoding - this is supposed to break FATE.

Patch by Michael.

Originally committed as revision 23582 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2010-06-11 13:28:42 +00:00 committed by Carl Eugen Hoyos
parent 07ff7825b6
commit 1c1697117d

View File

@ -283,6 +283,7 @@ static int video_read_header(AVFormatContext *s,
st->codec->codec_id == CODEC_ID_MPEG4 ||
st->codec->codec_id == CODEC_ID_DIRAC ||
st->codec->codec_id == CODEC_ID_DNXHD ||
st->codec->codec_id == CODEC_ID_VC1 ||
st->codec->codec_id == CODEC_ID_H264) {
st->codec->time_base= (AVRational){1,25};
}