commit | 69113e8ccc30fbdb8733ca2070bd3491b21e656d | [log] [tgz] |
---|---|---|
author | Marco Nelissen <marcone@google.com> | Wed Dec 10 11:05:32 2014 -0800 |
committer | Marco Nelissen <marcone@google.com> | Wed Dec 10 11:05:32 2014 -0800 |
tree | badaf6dd1aaaed21ad560e36a76354646b447ca4 | |
parent | f888020c6e2735624f2b2a30e72aca24e17b8b4d [diff] |
Truncate file before recording into it. Recording into an existing file of non-zero length could leave old data in the file after the recording ends. Best case that wastes space, worst case it results in a file that's considered corrupt on playback. Change-Id: I2c77a107603b2b36790958360ff0856c2b28d677