1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

movenc: Allow chapter track in default MODE_MP4

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
John Stebbins 2013-08-19 16:05:29 -07:00 committed by Martin Storsjö
parent 64af59bc49
commit db03cb37fd

View File

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