From 448c8cfe4c53e9e806effd8505b46d57fa707061 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Tue, 20 Jan 2015 15:33:12 +0100 Subject: movenc: Support setting fragment_index before the moov atom is written MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This way, the caller doesn't need to coordinate setting the option after the moov atom has been written. The downside is that it is no longer possible to use the option for checking whether the moov atom already has been written, but a caller is able to keep track of that by other means anyway. 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 3ac53059b4..f64efad689 100644 --- a/libavformat/movenc.h +++ b/libavformat/movenc.h @@ -155,6 +155,7 @@ typedef struct MOVMuxContext { int iods_video_profile; int iods_audio_profile; + int moov_written; int fragments; int max_fragment_duration; int min_fragment_duration; -- cgit v1.2.3