mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-12-18 08:58:37 +00:00
flvenc: dont call avio_flush() unconditional
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a286940da1
commit
7cfaf727a1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user