summaryrefslogtreecommitdiff
path: root/libavformat/smjpegenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/smjpegenc.c')
-rw-r--r--libavformat/smjpegenc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/smjpegenc.c b/libavformat/smjpegenc.c
index 0a2768785a..430a497c6e 100644
--- a/libavformat/smjpegenc.c
+++ b/libavformat/smjpegenc.c
@@ -109,7 +109,6 @@ static int smjpeg_write_packet(AVFormatContext *s, AVPacket *pkt)
avio_wb32(pb, pkt->pts);
avio_wb32(pb, pkt->size);
avio_write(pb, pkt->data, pkt->size);
- avio_flush(pb);
smc->duration = FFMAX(smc->duration, pkt->pts + pkt->duration);
return 0;