avformat: remove more unneeded avio_flush() calls
authorMarton Balint <cus@passwd.hu>
Sat, 4 Jan 2020 20:14:46 +0000 (21:14 +0100)
committerMarton Balint <cus@passwd.hu>
Tue, 7 Jan 2020 20:51:45 +0000 (21:51 +0100)
commitf4a8ea7ff6fd83ec925cfd3fccde538196cff85a
tree2be7fb737be6340750e5dfee26e07985c6ae56fe
parentc371463915aef11fb8d052fd25313d0444a42cfd
avformat: remove more unneeded avio_flush() calls

These instances are simply redundant or present because avio_flush() used to be
required before doing a seekback. That is no longer the case, aviobuf code does
the flush automatically on seek.

This only affects code which is either disabled for streaming IO contexts or
does no seekbacks after the flush, so this change should have no adverse effect
on streaming.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/asfenc.c
libavformat/avienc.c
libavformat/gxfenc.c
libavformat/segafilmenc.c
libavformat/wavenc.c