Commit 7cfaf727 authored by Michael Niedermayer's avatar Michael Niedermayer

flvenc: dont call avio_flush() unconditional

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a286940d
......@@ -569,7 +569,6 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
pkt->pts + flv->delay + pkt->duration);
}
avio_flush(pb);
av_free(data);
return pb->error;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment