projects
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
movenc: Allow chapter track in default MODE_MP4
[ffmpeg.git]
/
libavformat
/
movenc.c
diff --git
a/libavformat/movenc.c
b/libavformat/movenc.c
index
b83b0c0
..
3338f46
100644
(file)
--- 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_M
P4|MODE_M
OV|MODE_IPOD) && s->nb_chapters)
mov->chapter_track = mov->nb_streams++;
if (mov->flags & FF_MOV_FLAG_RTP_HINT) {