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/gif.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavformat/gif.c') diff --git a/libavformat/gif.c b/libavformat/gif.c index 97ebf1b48e..11f9c171cf 100644 --- a/libavformat/gif.c +++ b/libavformat/gif.c @@ -329,7 +329,6 @@ static int gif_write_video(AVFormatContext *s, AVCodecContext *enc, gif_image_write_image(pb, 0, 0, enc->width, enc->height, buf, enc->width * 3, AV_PIX_FMT_RGB24); - avio_flush(s->pb); return 0; } -- cgit v1.2.3