From 73084391588b0f150737990038829cac5013dd68 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Mon, 25 Mar 2013 00:23:46 +0100 Subject: lavf: Don't explicitly flush after each written packet in muxers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since 596e5d4783, this is not necessary anymore. It also allows to actually disable the flushing, improving write performance (but possibly giving worse latency in real-time streaming). Signed-off-by: Martin Storsjö --- libavformat/ivfenc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavformat/ivfenc.c') diff --git a/libavformat/ivfenc.c b/libavformat/ivfenc.c index e0455970e5..3cd16166c7 100644 --- a/libavformat/ivfenc.c +++ b/libavformat/ivfenc.c @@ -53,7 +53,6 @@ static int ivf_write_packet(AVFormatContext *s, AVPacket *pkt) avio_wl32(pb, pkt->size); avio_wl64(pb, pkt->pts); avio_write(pb, pkt->data, pkt->size); - avio_flush(pb); return 0; } -- cgit v1.2.3