movenc: Don't assume that fragment durations in pts is equal to duration in dts
[ffmpeg.git] / libavformat / movenc.h
index a1d4902..a61cfad 100644 (file)
@@ -105,6 +105,7 @@ typedef struct MOVTrack {
     int         tref_id; ///< trackID of the referenced track
     int64_t     start_dts;
     int64_t     start_cts;
+    int64_t     end_pts;
 
     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