diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-03-25 03:23:46 +0400 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-09-16 23:17:33 +0400 |
commit | 73084391588b0f150737990038829cac5013dd68 (patch) | |
tree | f7a5755d0651098c36deabaf47f9d6c37a35e721 /libavformat/dvenc.c | |
parent | 596e5d4783ca951258a7c580951fd161f1785ec1 (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/dvenc.c')
-rw-r--r-- | libavformat/dvenc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/dvenc.c b/libavformat/dvenc.c index a991cc6b0c..93ae0b56dc 100644 --- a/libavformat/dvenc.c +++ b/libavformat/dvenc.c @@ -388,7 +388,6 @@ static int dv_write_packet(struct AVFormatContext *s, AVPacket *pkt) pkt->data, pkt->size, &frame); if (fsize > 0) { avio_write(s->pb, frame, fsize); - avio_flush(s->pb); } return 0; } |