From a4adabb460ace39783d707a5b3bbe28b4b5b9dc4 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Mon, 9 Sep 2013 12:05:01 +0300 Subject: movenc: Write the moof atom in two passes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a bit more work, but avoids having to fill in the data offset field afterwards instead of directly when the rest of the trun atom is written. This simplifies future cases where this field needs to be set to something different. Signed-off-by: Martin Storsjö --- libavformat/movenc.h | 1 - 1 file changed, 1 deletion(-) (limited to 'libavformat/movenc.h') diff --git a/libavformat/movenc.h b/libavformat/movenc.h index 78001cc3f2..bcb87e18e7 100644 --- a/libavformat/movenc.h +++ b/libavformat/movenc.h @@ -116,7 +116,6 @@ typedef struct MOVTrack { HintSampleQueue sample_queue; AVIOContext *mdat_buf; - int64_t moof_size_offset; int64_t data_offset; int64_t frag_start; int64_t tfrf_offset; -- cgit v1.2.3