* put there more reasnable 15fps speed (though it's probably meaningless)
authorZdenek Kabelac <kabi@informatics.muni.cz>
Wed, 6 Nov 2002 20:39:17 +0000 (20:39 +0000)
committerZdenek Kabelac <kabi@informatics.muni.cz>
Wed, 6 Nov 2002 20:39:17 +0000 (20:39 +0000)
Originally committed as revision 1174 to svn://svn.ffmpeg.org/ffmpeg/trunk

libav/asf.c

index de34e99..74d092a 100644 (file)
@@ -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 .... */