limit number of threads to hard-coded maximum
new de265_isOK() function to help in ignoring warnings