From e22b4a99483a13ec44d5151c6f825516ebfb9c04 Mon Sep 17 00:00:00 2001 From: iovar Date: Fri, 8 Dec 2006 13:48:40 +0000 Subject: faster CompareBlocks git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@223 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/src/cache_frame.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/recordmydesktop/src/cache_frame.c b/recordmydesktop/src/cache_frame.c index 7f8c826..725a1df 100644 --- a/recordmydesktop/src/cache_frame.c +++ b/recordmydesktop/src/cache_frame.c @@ -35,12 +35,10 @@ int CompareBlocks(unsigned char *incoming,unsigned char *old,int blockno,int wid *old_reg=&(old[block_i*(width*height/divisor)+block_k*width/divisor]); for(j=0;j