Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-03-25 03:23:46 +0400
committerMartin Storsjö <martin@martin.st>2013-09-16 23:17:33 +0400
commit73084391588b0f150737990038829cac5013dd68 (patch)
treef7a5755d0651098c36deabaf47f9d6c37a35e721 /libavformat/daud.c
parent596e5d4783ca951258a7c580951fd161f1785ec1 (diff)
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ö <martin@martin.st>
Diffstat (limited to 'libavformat/daud.c')
-rw-r--r--libavformat/daud.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/daud.c b/libavformat/daud.c
index 3ceb958d61..bb7ab7fbcd 100644
--- a/libavformat/daud.c
+++ b/libavformat/daud.c
@@ -68,7 +68,6 @@ static int daud_write_packet(struct AVFormatContext *s, AVPacket *pkt)
avio_wb16(s->pb, pkt->size);
avio_wb16(s->pb, 0x8010); // unknown
avio_write(s->pb, pkt->data, pkt->size);
- avio_flush(s->pb);
return 0;
}