On Mon, 19 Aug 2013, John Stebbins wrote:

---
libavformat/movenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index d3aa3db..eff4ff8 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -3048,7 +3048,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) {
--
1.8.3.1

Ok I suppose, although I don't know anything about chapters TBH.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to