aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/vqf.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2010-04-13 01:19:59 +0000
committerVitor Sessak <vitor1001@gmail.com>2010-04-13 01:19:59 +0000
commitefd8b009ff2e3643243a890faea763aa33e5a019 (patch)
tree00401efa200c195e79590d1e76a2d2c8547a69ca /libavformat/vqf.c
parentb591c7af31d19f7614752418b5debd7570163470 (diff)
downloadffmpeg-efd8b009ff2e3643243a890faea763aa33e5a019.tar.gz
Use a suitable timebase in VQF demuxer
Originally committed as revision 22868 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/vqf.c')
-rw-r--r--libavformat/vqf.c1
1 files changed, 1 insertions, 0 deletions
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;
}