aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-08 13:31:53 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-08 13:31:53 +0200
commit7cfaf727a195cb8410acd7f321681617c572d6b0 (patch)
tree4891a33f32f23f6654ed0f4893bc5504bf52e9a2
parenta286940da148ac940bba515598bff2e01830cb57 (diff)
downloadffmpeg-7cfaf727a195cb8410acd7f321681617c572d6b0.tar.gz
flvenc: dont call avio_flush() unconditional
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/flvenc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index e1dd43f716..b35c4cf955 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -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;