From 6a73f3bbdfa0ea4984d8df280411d3e0e185c792 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Fri, 20 Jan 2012 22:53:18 +0200 Subject: aviocat: Flush the output before closing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without this, the end of the file might not be transmitted/written. Signed-off-by: Martin Storsjö --- tools/aviocat.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/aviocat.c') diff --git a/tools/aviocat.c b/tools/aviocat.c index c43c69d1be..183cdf70dd 100644 --- a/tools/aviocat.c +++ b/tools/aviocat.c @@ -89,6 +89,7 @@ int main(int argc, char **argv) } } + avio_flush(output); avio_close(output); fail: avio_close(input); -- cgit v1.2.3