diff --git a/libavformat/wvenc.c b/libavformat/wvenc.c index 7fed4a687d..a1e462390c 100644 --- a/libavformat/wvenc.c +++ b/libavformat/wvenc.c @@ -20,7 +20,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ - #include "libavutil/attributes.h" #include "apetag.h" @@ -56,7 +55,6 @@ static int wv_write_packet(AVFormatContext *ctx, AVPacket *pkt) s->samples += header.samples; avio_write(ctx->pb, pkt->data, pkt->size); - avio_flush(ctx->pb); return 0; }