fix regression test failure

Originally committed as revision 3767 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-12-21 02:01:32 +00:00
parent c13449112b
commit 6260de6ab0

View File

@ -218,7 +218,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
get_le32(pb); get_le32(pb);
st->codec.codec_type = type; st->codec.codec_type = type;
/* 1 fps default (XXX: put 0 fps instead) */ /* 1 fps default (XXX: put 0 fps instead) */
st->codec.frame_rate = 1; st->codec.frame_rate = 1000;
st->codec.frame_rate_base = 1; st->codec.frame_rate_base = 1;
if (type == CODEC_TYPE_AUDIO) { if (type == CODEC_TYPE_AUDIO) {
get_wav_header(pb, &st->codec, type_specific_size); get_wav_header(pb, &st->codec, type_specific_size);