API for error concealement
set nb threads to 2