Fixed YouTube-dl and FFmpeg checks

Forgot that some errors do not aways return 1. If the returned value is
anything other than 0 it returns 1.