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>
This commit is contained in:
Clément Bœsch
2013-03-25 00:23:46 +01:00
committed by Martin Storsjö
parent 596e5d4783
commit 7308439158
22 changed files with 0 additions and 27 deletions

View File

@@ -51,7 +51,6 @@ static int wv_write_packet(AVFormatContext *ctx, AVPacket *pkt)
s->samples += header.samples;
avio_write(ctx->pb, pkt->data, pkt->size);
avio_flush(ctx->pb);
return 0;
}