From 8de9bb6e5e527e2bcc8b2cff2da4107ecef23421 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Mon, 25 Mar 2013 00:23:46 +0100 Subject: lavf: remove some flushing in write_packet muxers callbacks. Since 4f112a8e3, this is not necessary anymore. Also, it allows to actually disable the flushing. --- libavformat/microdvdenc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavformat/microdvdenc.c') diff --git a/libavformat/microdvdenc.c b/libavformat/microdvdenc.c index 30fd0ea3a6..4d8438437b 100644 --- a/libavformat/microdvdenc.c +++ b/libavformat/microdvdenc.c @@ -52,7 +52,6 @@ static int microdvd_write_packet(AVFormatContext *avf, AVPacket *pkt) avio_printf(avf->pb, "{%"PRId64"}", pkt->pts + pkt->duration); avio_write(avf->pb, pkt->data, pkt->size); avio_write(avf->pb, "\n", 1); - avio_flush(avf->pb); return 0; } -- cgit v1.2.3