matroskadec: don't set codec timebase.
authorAnton Khirnov <anton@khirnov.net>
Mon, 28 Nov 2011 08:38:32 +0000 (09:38 +0100)
committerAnton Khirnov <anton@khirnov.net>
Wed, 30 Nov 2011 06:47:43 +0000 (07:47 +0100)
It's not supposed to be set outside of lavc.

libavformat/matroskadec.c

index a40aa1c..b136bba 100644 (file)
@@ -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;