Commit 9ffc61b1 authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit '8ad5124b'

* commit '8ad5124b':
  movenc: Automatically flush after writing the initial moov
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents 1f185ed8 8ad5124b
......@@ -5304,6 +5304,7 @@ static int mov_write_header(AVFormatContext *s)
!(mov->flags & FF_MOV_FLAG_DELAY_MOOV)) {
if ((ret = mov_write_moov_tag(pb, mov, s)) < 0)
return ret;
avio_flush(pb);
mov->moov_written = 1;
if (mov->flags & FF_MOV_FLAG_GLOBAL_SIDX)
mov->reserved_header_pos = avio_tell(pb);
......
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