diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-20 11:30:46 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-20 11:30:55 +0200 |
commit | d169b56b7bfc44c80261b7a2ec74f279cd853966 (patch) | |
tree | 0acd764d79bb1b8b206367831c48fd1683c48fb3 /libavformat | |
parent | ac957bc60cec69bd5724fe6f41b6fb979ac6612c (diff) | |
parent | 59f595921eb2b848a80a74aa81b6bb43038c9ebe (diff) | |
download | ffmpeg-d169b56b7bfc44c80261b7a2ec74f279cd853966.tar.gz |
Merge commit '59f595921eb2b848a80a74aa81b6bb43038c9ebe'
* commit '59f595921eb2b848a80a74aa81b6bb43038c9ebe':
mkv: Flush the old cluster before writing a new one
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/matroskaenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 8c7f938645..d2bbf3a031 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -1534,6 +1534,7 @@ static int mkv_write_packet(AVFormatContext *s, AVPacket *pkt) mkv->cluster_pos = -1; if (mkv->dyn_bc) mkv_flush_dynbuf(s); + avio_flush(s->pb); } // check if we have an audio packet cached |