Index: /branches/eam_branches/ipp-dev-20210817/ppImage/src/ppImageParseCamera.c
===================================================================
--- /branches/eam_branches/ipp-dev-20210817/ppImage/src/ppImageParseCamera.c	(revision 41811)
+++ /branches/eam_branches/ipp-dev-20210817/ppImage/src/ppImageParseCamera.c	(revision 41812)
@@ -116,6 +116,6 @@
         int nScanRows = psMetadataLookupS32(&status, recipe, "SCAN.ROWS");
         pmDetrendSetThreadTasks(nScanRows);
-	ppImageSetThreads ();
-    }
+    }
+    ppImageSetThreads (); // even if threading is off, we need to identify the ppImageDetrendPattern thread function
 
     if (options->doPatternRow || options->doPatternCell) {
