Flush the buffer after writing the header and when done with writing the files
authorDavid Conrad <lessen42@gmail.com>
Sat, 17 Jan 2009 04:30:36 +0000 (04:30 +0000)
committerDavid Conrad <lessen42@gmail.com>
Sat, 17 Jan 2009 04:30:36 +0000 (04:30 +0000)
commit8a86aaa3b2e3a7c581048abd2b25ee43d3a92eb7
treec08d0860d3bb7925a924a6a2f6587db2837f6efd
parent0d3d172f32a912d566a589d4085dbb08a7010ddd
Flush the buffer after writing the header and when done with writing the files
Fixes writing small (~4kb) files.

Originally committed as revision 16650 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/matroskaenc.c