mirror of https://git.ffmpeg.org/ffmpeg.git
* put there more reasnable 15fps speed (though it's probably meaningless)
Originally committed as revision 1174 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
218baf10f8
commit
41568e4a09
|
@ -817,7 +817,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
|||
|
||||
get_le32(pb);
|
||||
st->codec.codec_type = type;
|
||||
st->codec.frame_rate = 1000000; // us
|
||||
st->codec.frame_rate = 15 * s->pts_den / s->pts_num; // 15 fps default
|
||||
if (type == CODEC_TYPE_AUDIO) {
|
||||
get_wav_header(pb, &st->codec, 1);
|
||||
/* We have to init the frame size at some point .... */
|
||||
|
|
Loading…
Reference in New Issue