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 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/amr.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavformat/amr.c') diff --git a/libavformat/amr.c b/libavformat/amr.c index ba91d7c139..3b1a468e34 100644 --- a/libavformat/amr.c +++ b/libavformat/amr.c @@ -55,7 +55,6 @@ static int amr_write_header(AVFormatContext *s) static int amr_write_packet(AVFormatContext *s, AVPacket *pkt) { avio_write(s->pb, pkt->data, pkt->size); - avio_flush(s->pb); return 0; } #endif /* CONFIG_AMR_MUXER */ -- cgit v1.2.3