From 8de9bb6e5e527e2bcc8b2cff2da4107ecef23421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= 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/bit.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavformat/bit.c') diff --git a/libavformat/bit.c b/libavformat/bit.c index 9f6ea4a..9b2246c 100644 --- a/libavformat/bit.c +++ b/libavformat/bit.c @@ -139,7 +139,6 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt) init_get_bits(&gb, pkt->data, 8*10); for(i=0; i< 8 * 10; i++) avio_wl16(pb, get_bits1(&gb) ? BIT_1 : BIT_0); - avio_flush(pb); return 0; } -- cgit v1.1