movenc: Don't flush after each written packet
authorMartin Storsjö <martin@martin.st>
Mon, 2 Sep 2013 13:23:17 +0000 (16:23 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 3 Sep 2013 07:36:17 +0000 (10:36 +0300)
commit0fbda03e5cfce9d37a263abd08947e5a64ed8ee9
tree69efffddb0b74828c60a460c6fc3fb4833e0eb8e
parent7df9e693a34c84c698da60426c78140c950f95ed
movenc: Don't flush after each written packet

This should improve write performance quite significantly.
---
Tested with both writing a normal mp4, by using the faststart
feature and writing a fragmented mp4 file; all turn out with the
same md5sum as before.

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