Commit d169b56b authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '59f59592'

* commit '59f59592':
  mkv: Flush the old cluster before writing a new one
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents ac957bc6 59f59592
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment