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>
release/0.10
Martin Storsjö 13 years ago
parent 23e57d167a
commit 6a73f3bbdf
  1. 1
      tools/aviocat.c

@ -89,6 +89,7 @@ int main(int argc, char **argv)
} }
} }
avio_flush(output);
avio_close(output); avio_close(output);
fail: fail:
avio_close(input); avio_close(input);

Loading…
Cancel
Save