From 6ca3856894c8838096595f7e147df8f73169dfe2 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Sat, 7 Jan 2012 01:32:53 +0200 Subject: movenc: Add a separate start_pts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes calculation of trackDuration if the MOVIentry array is cleared. This is required by the fragmentation support in the next patch. Signed-off-by: Martin Storsjö --- libavformat/movenc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/movenc.h') diff --git a/libavformat/movenc.h b/libavformat/movenc.h index 5595ac71a8..5b7689a27b 100644 --- a/libavformat/movenc.h +++ b/libavformat/movenc.h @@ -89,6 +89,7 @@ typedef struct MOVIndex { int height; ///< active picture (w/o VBI) height for D-10/IMX uint32_t tref_tag; int tref_id; ///< trackID of the referenced track + int64_t start_dts; int hint_track; ///< the track that hints this track, -1 if no hint track is set int src_track; ///< the track that this hint track describes -- cgit v1.2.3