summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/matroska.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/matroska.c b/libavformat/matroska.c
index 867a2a37fb..97b497927e 100644
--- a/libavformat/matroska.c
+++ b/libavformat/matroska.c
@@ -2301,6 +2301,7 @@ matroska_read_header (AVFormatContext *s,
av_set_pts_info(st, 64, matroska->time_scale, 1000*1000*1000); /* 64 bit pts in ns */
st->codec->codec_id = codec_id;
+ st->start_time = 0;
if (track->default_duration)
av_reduce(&st->codec->time_base.num, &st->codec->time_base.den,