From a351110eea8f8684642dfe7328e14c3755915091 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Sat, 5 Feb 2011 10:08:29 +0100 Subject: Always use av_set_pts_info to set the stream time base. Signed-off-by: Ronald S. Bultje --- libavformat/oggparsetheora.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/oggparsetheora.c') diff --git a/libavformat/oggparsetheora.c b/libavformat/oggparsetheora.c index 2299f5507c..d02781f2fa 100644 --- a/libavformat/oggparsetheora.c +++ b/libavformat/oggparsetheora.c @@ -91,7 +91,7 @@ theora_header (AVFormatContext * s, int idx) st->codec->time_base.num = 1; st->codec->time_base.den = 25; } - st->time_base = st->codec->time_base; + av_set_pts_info(st, 64, st->codec->time_base.num, st->codec->time_base.den); st->sample_aspect_ratio.num = get_bits_long(&gb, 24); st->sample_aspect_ratio.den = get_bits_long(&gb, 24); -- cgit v1.2.3