[FFmpeg-cvslog] matroskadec: don't set codec timebase.
Anton Khirnov
git at videolan.org
Thu Dec 1 03:02:40 CET 2011
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Nov 28 09:38:32 2011 +0100| [c98c1f434eed06390f4990dd23f7ec15dbe53703] | committer: Anton Khirnov
matroskadec: don't set codec timebase.
It's not supposed to be set outside of lavc.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c98c1f434eed06390f4990dd23f7ec15dbe53703
---
libavformat/matroskadec.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index a40aa1c..b136bba 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;
More information about the ffmpeg-cvslog
mailing list