summaryrefslogtreecommitdiff
path: root/libavformat/c93.c
diff options
context:
space:
mode:
authorReimar Döffinger <git@videolan.org>2011-02-05 10:08:29 +0100
committerRonald S. Bultje <rsbultje@gmail.com>2011-02-06 16:08:59 -0500
commita351110eea8f8684642dfe7328e14c3755915091 (patch)
treea4c97d415625bed0821fd0f095770b9e49377e9e /libavformat/c93.c
parented19fafd486d6ab0d6e1eba80ceaa482a740c556 (diff)
Always use av_set_pts_info to set the stream time base.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/c93.c')
-rw-r--r--libavformat/c93.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/c93.c b/libavformat/c93.c
index dbb2bf389e..0c6e4e5f51 100644
--- a/libavformat/c93.c
+++ b/libavformat/c93.c
@@ -89,7 +89,7 @@ static int read_header(AVFormatContext *s,
video->codec->height = 192;
/* 4:3 320x200 with 8 empty lines */
video->sample_aspect_ratio = (AVRational) { 5, 6 };
- video->time_base = (AVRational) { 2, 25 };
+ av_set_pts_info(video, 64, 2, 25);
video->nb_frames = framecount;
video->duration = framecount;
video->start_time = 0;