movenc: Allow chapter track in default MODE_MP4

Signed-off-by: Martin Storsjö <martin@martin.st>
pull/37/head
John Stebbins 12 years ago committed by Martin Storsjö
parent 64af59bc49
commit db03cb37fd
  1. 2
      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) {

Loading…
Cancel
Save