Close fd when we're done dv-sending the file.

CID: 978413
This commit is contained in:
Warner Losh 2017-12-28 05:34:38 +00:00
parent e495018e91
commit d8dfc65f43
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327279

View file

@ -417,4 +417,5 @@ dvsend(int d, const char *filename, char ich, int count)
+ (end.tv_usec - start.tv_usec) * 1e-6;
fprintf(stderr, "%d frames, %.2f secs, %.2f frames/sec\n",
frames, rtime, frames/rtime);
close(fd);
}