diff options
author | Martin Storsjö <martin@martin.st> | 2012-01-20 22:53:18 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-01-21 01:12:00 +0200 |
commit | 6a73f3bbdfa0ea4984d8df280411d3e0e185c792 (patch) | |
tree | 9adfbb534ee75fdb43d3005e19d0428560c71684 /tools | |
parent | 23e57d167a87d3a671fe25efb2d5a1cf1719efc6 (diff) | |
download | ffmpeg-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.c | 1 |
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); |