summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-02-11 20:19:35 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-02-11 20:19:35 +0000
commitfcdd622cfc087589f23c0f28a752e375b7c4aa64 (patch)
tree191e52444dd5f120c1a280f951c7d53f6d60a495 /libavformat/mov.c
parentd3b771bbc80ac366564995933c82d0ffcd058128 (diff)
do not set start time to 0, it is not the case with elst time offset
Originally committed as revision 17161 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index bc682a3be7..5f1d685700 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1346,7 +1346,6 @@ static int mov_read_trak(MOVContext *c, ByteIOContext *pb, MOVAtom atom)
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 @@ static int mov_read_tkhd(MOVContext *c, ByteIOContext *pb, MOVAtom atom)
}
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 */