segment: Flush buffered data before finishing a segment
authorMartin Storsjö <martin@martin.st>
Tue, 2 Oct 2012 21:56:40 +0000 (23:56 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 4 Oct 2012 10:52:09 +0000 (13:52 +0300)
commita854362b40f0e458db5a1fb0d2612a5702ee0ace
treeec8b074a1666c8af7a655e8a4fc03eb101f78139
parentf7b240434c015056bc6319ddbdb8483757cc13e2
segment: Flush buffered data before finishing a segment

This makes sure any buffered data is written to the segment, for
muxers that buffer up data internally (e.g. fragmented mp4).

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