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/spdifenc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavformat/spdifenc.c') diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c index 1f37340a8b..c350f7251c 100644 --- a/libavformat/spdifenc.c +++ b/libavformat/spdifenc.c @@ -538,7 +538,6 @@ static int spdif_write_packet(struct AVFormatContext *s, AVPacket *pkt) av_log(s, AV_LOG_DEBUG, "type=%x len=%i pkt_offset=%i\n", ctx->data_type, ctx->out_bytes, ctx->pkt_offset); - avio_flush(s->pb); return 0; } -- cgit v1.2.3