summaryrefslogtreecommitdiff
path: root/libavformat/gxfenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/gxfenc.c')
-rw-r--r--libavformat/gxfenc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/gxfenc.c b/libavformat/gxfenc.c
index c9fb0dcd91..e09b8d7625 100644
--- a/libavformat/gxfenc.c
+++ b/libavformat/gxfenc.c
@@ -863,13 +863,11 @@ static int gxf_write_trailer(AVFormatContext *s)
return ret;
gxf_write_flt_packet(s);
gxf_write_umf_packet(s);
- avio_flush(pb);
/* update duration in all map packets */
for (i = 1; i < gxf->map_offsets_nb; i++) {
avio_seek(pb, gxf->map_offsets[i], SEEK_SET);
if ((ret = gxf_write_map_packet(s, 1)) < 0)
return ret;
- avio_flush(pb);
}
avio_seek(pb, end, SEEK_SET);