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>2020-01-04 21:31:14 +0300
committerMarton Balint <cus@passwd.hu>2020-01-07 23:51:45 +0300
commitc05d82fa92b38ac0459a0605872991d8fa9e2252 (patch)
tree763deec24366bffee5ca48c32694b35c82f7b868 /libavformat/cafenc.c
parent4bf90e095b361cb11371921bf6eb357831d857b2 (diff)
avformat: remove unneeded avio_flush() calls from the end of write_trailer functions
The IO context is always flushed by libavformat/mux.c after write_trailer is called, so this change should have no effect at all.
Diffstat (limited to 'libavformat/cafenc.c')
-rw-r--r--libavformat/cafenc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/cafenc.c b/libavformat/cafenc.c
index 8fe1dcef19..98d4d9212f 100644
--- a/libavformat/cafenc.c
+++ b/libavformat/cafenc.c
@@ -258,7 +258,6 @@ static int caf_write_trailer(AVFormatContext *s)
avio_write(pb, caf->pkt_sizes, caf->size_entries_used);
caf->size_buffer_size = 0;
}
- avio_flush(pb);
}
av_freep(&caf->pkt_sizes);
return 0;