Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2019-12-27 16:18:20 +0300
committerMarton Balint <cus@passwd.hu>2020-01-07 23:51:45 +0300
commit4d7f8254ac11e207f49348978231a6c4656d43e8 (patch)
tree5418a05a307186fa149e7701a0d26cff22d1d2d7 /libavformat/oggenc.c
parent37d24a6c8fdff897c5e01a8767bfcdc9ddf1f003 (diff)
avformat: remove unneeded avio_flush() calls before calling avio_close_dyn_buf()
avio_close_dyn_buf() also does avio_flush(). Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/oggenc.c')
-rw-r--r--libavformat/oggenc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c
index d3ae07351d..04f7813083 100644
--- a/libavformat/oggenc.c
+++ b/libavformat/oggenc.c
@@ -133,7 +133,6 @@ static int ogg_write_page(AVFormatContext *s, OGGPage *page, int extra_flags)
avio_write(pb, page->data, page->size);
ogg_update_checksum(s, pb, crc_offset);
- avio_flush(pb);
size = avio_close_dyn_buf(pb, &buf);
if (size < 0)