diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-04-09 16:27:00 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-04-09 16:27:00 +0000 |
commit | 01344104c1bbb2e6bd30d916a7a154c5382cb130 (patch) | |
tree | 18e7e81295b773bdefc669eebef5aa182a522dff /libavformat/matroska.c | |
parent | 8e7a7e6a0107dc7a252cce5db02fffc70cc0a41c (diff) | |
download | ffmpeg-01344104c1bbb2e6bd30d916a7a154c5382cb130.tar.gz |
properly set streams start_time
Originally committed as revision 8693 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroska.c')
-rw-r--r-- | libavformat/matroska.c | 1 |
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, |