aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-01-20 22:53:18 +0200
committerMartin Storsjö <martin@martin.st>2012-01-21 01:12:00 +0200
commit6a73f3bbdfa0ea4984d8df280411d3e0e185c792 (patch)
tree9adfbb534ee75fdb43d3005e19d0428560c71684 /tools
parent23e57d167a87d3a671fe25efb2d5a1cf1719efc6 (diff)
downloadffmpeg-6a73f3bbdfa0ea4984d8df280411d3e0e185c792.tar.gz
aviocat: Flush the output before closing
Without this, the end of the file might not be transmitted/written. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'tools')
-rw-r--r--tools/aviocat.c1
1 files changed, 1 insertions, 0 deletions
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);