From 2d9d6afb8d2f284f5e620ecc19f643d5cd3facb8 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Sun, 12 Oct 2014 23:37:17 +0300 Subject: movenc: Factorize adding fragment info into a separate function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit By calling this after writing the moof the first time (for calculating the moof size), we can avoid intermediate storage of tfrf_offset in MOVTrack. 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 8349a18c1d..1df5a5cb96 100644 --- a/libavformat/movenc.h +++ b/libavformat/movenc.h @@ -120,7 +120,6 @@ typedef struct MOVTrack { AVIOContext *mdat_buf; int64_t data_offset; int64_t frag_start; - int64_t tfrf_offset; int nb_frag_info; MOVFragmentInfo *frag_info; -- cgit v1.2.3