diff -Naur mjpegtools-2.0.0-old/y4mdenoise/MotionSearcher.hh mjpegtools-2.0.0/y4mdenoise/MotionSearcher.hh
--- mjpegtools-2.0.0-old/y4mdenoise/MotionSearcher.hh	2010-07-25 23:06:56.000000000 +0300
+++ mjpegtools-2.0.0/y4mdenoise/MotionSearcher.hh	2012-07-26 20:19:19.776302541 +0300
@@ -2196,7 +2196,7 @@
 	{
 		// This region is too small to be bothered with.
 		// Just get rid of it.
-		DeleteRegion (a_pRegion);
+		this->DeleteRegion (a_pRegion);
 	}
 	else
 	{
diff -Naur mjpegtools-2.0.0-old/y4mdenoise/SearchBorder.hh mjpegtools-2.0.0/y4mdenoise/SearchBorder.hh
--- mjpegtools-2.0.0-old/y4mdenoise/SearchBorder.hh	2009-09-25 19:12:08.000000000 +0300
+++ mjpegtools-2.0.0/y4mdenoise/SearchBorder.hh	2012-07-26 20:20:17.710578264 +0300
@@ -1418,7 +1418,7 @@
 					OnCompletedRegion (a_reStatus, pRegion);
 					if (a_reStatus != g_kNoError)
 					{
-						DeleteRegion (pRegion);
+						this->DeleteRegion (pRegion);
 						return;
 					}
 				}
@@ -1821,7 +1821,7 @@
 		OnCompletedRegion (a_reStatus, pRegion);
 		if (a_reStatus != g_kNoError)
 		{
-			DeleteRegion (pRegion);
+			this->DeleteRegion (pRegion);
 			return;
 		}
 	}
