If you have that bad luck (IMHO):) to be an owner or user of MacBook Pro and had issues with camera (noticeably when using Skype but not specifically) then open terminal
and type following command:
sudo killall VDCAssistant
and your camera should start to work again