getCameraID: return -1 on error instead of 0

0 is a valid camera ID, so don't reuse that as error value.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Merge pull request #21 from koenkooi/streamfix

getCameraID: return -1 on error instead of 0