From db03cb37fd9650b4a7c752d24a2e84ff27508ee8 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Mon, 19 Aug 2013 16:05:29 -0700 Subject: [PATCH] movenc: Allow chapter track in default MODE_MP4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö --- libavformat/movenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index b83b0c0..3338f46 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -3059,7 +3059,7 @@ static int mov_write_header(AVFormatContext *s) } mov->nb_streams = s->nb_streams; - if (mov->mode & (MODE_MOV|MODE_IPOD) && s->nb_chapters) + if (mov->mode & (MODE_MP4|MODE_MOV|MODE_IPOD) && s->nb_chapters) mov->chapter_track = mov->nb_streams++; if (mov->flags & FF_MOV_FLAG_RTP_HINT) { -- 2.7.4