Mercurial > libavformat.hg
changeset 4453:f9ab71b3ace7 libavformat
do not set start time to 0, it is not the case with elst time offset
author | bcoudurier |
---|---|
date | Wed, 11 Feb 2009 20:19:35 +0000 |
parents | 1842e64fe89a |
children | 7d1460900c59 |
files | mov.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Wed Feb 11 16:28:46 2009 +0000 +++ b/mov.c Wed Feb 11 20:19:35 2009 +0000 @@ -1346,7 +1346,6 @@ st->priv_data = sc; st->codec->codec_type = CODEC_TYPE_DATA; - st->start_time = 0; /* XXX: check */ sc->ffindex = st->index; if ((ret = mov_read_default(c, pb, atom)) < 0) @@ -1506,7 +1505,7 @@ } st->id = (int)get_be32(pb); /* track id (NOT 0 !)*/ get_be32(pb); /* reserved */ - st->start_time = 0; /* check */ + /* highlevel (considering edits) duration in movie timebase */ (version == 1) ? get_be64(pb) : get_be32(pb); get_be32(pb); /* reserved */