diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-11-28 12:38:32 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-11-30 10:47:43 +0400 |
commit | c98c1f434eed06390f4990dd23f7ec15dbe53703 (patch) | |
tree | e53f68ebf39a685e5d638a2e31388febd6c74b2b /libavformat/matroskadec.c | |
parent | d3e3ffa501beab09ac7c73d10235b372c0311615 (diff) |
matroskadec: don't set codec timebase.
It's not supposed to be set outside of lavc.
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r-- | libavformat/matroskadec.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index a40aa1c469..b136bbae1c 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1519,10 +1519,6 @@ static int matroska_read_header(AVFormatContext *s, AVFormatParameters *ap) if (track->flag_forced) st->disposition |= AV_DISPOSITION_FORCED; - if (track->default_duration) - av_reduce(&st->codec->time_base.num, &st->codec->time_base.den, - track->default_duration, 1000000000, 30000); - if (!st->codec->extradata) { if(extradata){ st->codec->extradata = extradata; |