mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 21:20:41 +00:00
Merge commit '59f595921eb2b848a80a74aa81b6bb43038c9ebe'
* commit '59f595921eb2b848a80a74aa81b6bb43038c9ebe': mkv: Flush the old cluster before writing a new one Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
d169b56b7b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user