diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-01-31 22:08:56 +0300 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-02-05 11:55:53 +0300 |
commit | 5603df39df36d9de713732da06fe183b188ec963 (patch) | |
tree | a3db37bac78255a929e1bab523e59cd0c6c7c7fd /libavformat/oggparsetheora.c | |
parent | d947bce1fcd0115d1ff286965321f1434d62b45a (diff) |
Always use av_set_pts_info to set the stream time base.
Diffstat (limited to 'libavformat/oggparsetheora.c')
-rw-r--r-- | libavformat/oggparsetheora.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |