mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
lavf: remove some flushing in write_packet muxers callbacks.
Since 4f112a8e3, this is not necessary anymore. Also, it allows to
actually disable the flushing.
This commit is contained in:
@@ -110,7 +110,6 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
avio_write(pb, ptr, size - 24);
|
||||
ptr += size - 24; left -= size - 24;
|
||||
}
|
||||
avio_flush(pb);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user