Preventing ridiculous bit depths > 16 bit/sample