fix: dont force flush on muxer
This commit is contained in:
parent
b12d0d07c4
commit
f7e9489361
@ -19,7 +19,6 @@ impl Drop for Muxer {
|
|||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
unsafe {
|
unsafe {
|
||||||
if !self.ctx.is_null() {
|
if !self.ctx.is_null() {
|
||||||
avio_flush((*self.ctx).pb);
|
|
||||||
avformat_free_context(self.ctx);
|
avformat_free_context(self.ctx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user