[FFmpeg-cvslog] movenc: Allow chapter track in default MODE_MP4

John Stebbins git at videolan.org
Wed Aug 21 10:52:05 CEST 2013


ffmpeg | branch: master | John Stebbins <stebbins at jetheaddev.com> | Mon Aug 19 16:05:29 2013 -0700| [db03cb37fd9650b4a7c752d24a2e84ff27508ee8] | committer: Martin Storsjö

movenc: Allow chapter track in default MODE_MP4

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=db03cb37fd9650b4a7c752d24a2e84ff27508ee8
---

 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) {



More information about the ffmpeg-cvslog mailing list