[mythtv-commits] mythtv commit: r18269 by nigel
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Thu Sep 11 03:04:35 UTC 2008
Author: nigel
Date: 2008-09-11 03:04:35 +0000 (Thu, 11 Sep 2008)
New Revision: 18269
Changeset: http://cvs.mythtv.org/trac/changeset/18269
Modified:
trunk/mythtv/libs/libmyth/mythcdrom-linux.cpp
Log:
1. Efficiency gains in checkMedia(). It was calling testMedia
(open(), unlock(), ioctl(), close()), then its own open()/unlock()/ioctl()
to get the drive status again, each time round.
2. Tidyup - else after a return isn't needed, and just indents code needlessly.
More information about the mythtv-commits
mailing list