aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/vc1testenc.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-03-25 00:23:46 +0100
committerClément Bœsch <ubitux@gmail.com>2013-04-14 21:16:53 +0200
commit8de9bb6e5e527e2bcc8b2cff2da4107ecef23421 (patch)
tree3e15b14b5c1eb821c49b232e9362eb6921cdbfc1 /libavformat/vc1testenc.c
parentbc1847addf34a6c9216512b458f6a993c60461cb (diff)
downloadandroid_external_ffmpeg-8de9bb6e5e527e2bcc8b2cff2da4107ecef23421.tar.gz
android_external_ffmpeg-8de9bb6e5e527e2bcc8b2cff2da4107ecef23421.tar.bz2
android_external_ffmpeg-8de9bb6e5e527e2bcc8b2cff2da4107ecef23421.zip
lavf: remove some flushing in write_packet muxers callbacks.
Since 4f112a8e3, this is not necessary anymore. Also, it allows to actually disable the flushing.
Diffstat (limited to 'libavformat/vc1testenc.c')
-rw-r--r--libavformat/vc1testenc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/vc1testenc.c b/libavformat/vc1testenc.c
index 9debf19ef8..751333a4b8 100644
--- a/libavformat/vc1testenc.c
+++ b/libavformat/vc1testenc.c
@@ -63,7 +63,6 @@ static int vc1test_write_packet(AVFormatContext *s, AVPacket *pkt)
avio_wl32(pb, pkt->size | ((pkt->flags & AV_PKT_FLAG_KEY) ? 0x80000000 : 0));
avio_wl32(pb, pkt->pts);
avio_write(pb, pkt->data, pkt->size);
- avio_flush(pb);
ctx->frames++;
return 0;