Use a suitable timebase in VQF demuxer
authorVitor Sessak <vitor1001@gmail.com>
Tue, 13 Apr 2010 01:19:59 +0000 (01:19 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Tue, 13 Apr 2010 01:19:59 +0000 (01:19 +0000)
Originally committed as revision 22868 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/vqf.c

index 27890f8..b0ec020 100644 (file)
@@ -189,6 +189,7 @@ static int vqf_read_header(AVFormatContext *s, AVFormatParameters *ap)
         return -1;
     }
     c->frame_bit_len = st->codec->bit_rate*size/st->codec->sample_rate;
+    av_set_pts_info(st, 64, 1, st->codec->sample_rate);
 
     return 0;
 }