From 2d2449959edc3b6dfef3b43980fcd10c202455e4 Mon Sep 17 00:00:00 2001 From: iovar Date: Fri, 8 Dec 2006 14:09:17 +0000 Subject: reverted to 1.5 memcmp isn't faster after all (it just doesn't register at gprof) git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@224 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/src/cache_frame.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/recordmydesktop/src/cache_frame.c b/recordmydesktop/src/cache_frame.c index 725a1df..7f8c826 100644 --- a/recordmydesktop/src/cache_frame.c +++ b/recordmydesktop/src/cache_frame.c @@ -35,10 +35,12 @@ 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