[FFmpeg-cvslog] flvenc: dont call avio_flush() unconditional

Michael Niedermayer git at videolan.org
Mon Apr 8 13:55:53 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Apr  8 13:31:53 2013 +0200| [7cfaf727a195cb8410acd7f321681617c572d6b0] | committer: Michael Niedermayer

flvenc: dont call avio_flush() unconditional

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7cfaf727a195cb8410acd7f321681617c572d6b0
---

 libavformat/flvenc.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index e1dd43f..b35c4cf 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;



More information about the ffmpeg-cvslog mailing list