From efd8b009ff2e3643243a890faea763aa33e5a019 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Tue, 13 Apr 2010 01:19:59 +0000 Subject: [PATCH] Use a suitable timebase in VQF demuxer Originally committed as revision 22868 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/vqf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/vqf.c b/libavformat/vqf.c index 27890f8482..b0ec020511 100644 --- a/libavformat/vqf.c +++ b/libavformat/vqf.c @@ -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; }