From 6a73f3bbdfa0ea4984d8df280411d3e0e185c792 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Fri, 20 Jan 2012 22:53:18 +0200 Subject: [PATCH] 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(+) 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);