projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3e3ffa
)
matroskadec: don't set codec timebase.
author
Anton Khirnov
<anton@khirnov.net>
Mon, 28 Nov 2011 08:38:32 +0000
(09:38 +0100)
committer
Anton 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
patch
|
blob
|
history
diff --git
a/libavformat/matroskadec.c
b/libavformat/matroskadec.c
index
a40aa1c
..
b136bba
100644
(file)
--- 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;