Commit 10ea06b3 authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit '5f200bbf'

* commit '5f200bbf':
  movenc: Place the sidx index after the initial moov/mdat pair
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents 7653ebff 5f200bbf
...@@ -4181,6 +4181,9 @@ static int mov_flush_fragment(AVFormatContext *s) ...@@ -4181,6 +4181,9 @@ static int mov_flush_fragment(AVFormatContext *s)
avio_write(s->pb, buf, buf_size); avio_write(s->pb, buf, buf_size);
av_free(buf); av_free(buf);
if (mov->flags & FF_MOV_FLAG_FASTSTART)
mov->reserved_header_pos = avio_tell(s->pb);
mov->moov_written = 1; mov->moov_written = 1;
mov->mdat_size = 0; mov->mdat_size = 0;
for (i = 0; i < mov->nb_streams; i++) { for (i = 0; i < mov->nb_streams; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment