movenc: Automatically flush after writing the initial moov
authorMartin Storsjö <martin@martin.st>
Fri, 6 Nov 2015 23:18:05 +0000 (01:18 +0200)
committerMartin Storsjö <martin@martin.st>
Tue, 10 Nov 2015 19:46:03 +0000 (21:46 +0200)
commit8ad5124b7ecf7f727724e270a7b4bb8c7bcbf6a4
tree8fd220dac481307e7ca7e3a3b994f860533d31de
parentdb9b7321d5dfcbaf521d46beec44cf724776c70d
movenc: Automatically flush after writing the initial moov

In most other cases when writing fragmented mp4 files, the output
IO context is flushed after each fragment. Also flush it after
writing the initial moov, to have it behave in the same way.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/movenc.c