flvenc: dont call avio_flush() unconditional

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-04-08 13:31:53 +02:00
parent a286940da1
commit 7cfaf727a1
1 changed files with 0 additions and 1 deletions

View File

@ -569,7 +569,6 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
pkt->pts + flv->delay + pkt->duration); pkt->pts + flv->delay + pkt->duration);
} }
avio_flush(pb);
av_free(data); av_free(data);
return pb->error; return pb->error;