[Gridflow-cvs] [svn] commit: r5422 - /trunk/src/videodev.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Fri Apr 9 17:38:59 EDT 2010


Author: matju
Date: Fri Apr  9 17:38:57 2010
New Revision: 5422

Log:
fix 'transfer read' ? surely not

Modified:
    trunk/src/videodev.cxx

Modified: trunk/src/videodev.cxx
==============================================================================
--- trunk/src/videodev.cxx (original)
+++ trunk/src/videodev.cxx Fri Apr  9 17:38:57 2010
@@ -328,7 +328,7 @@
 		image = (uint8 *)mmap(0,vmbuf.size,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0);
 		if (((long)image)==-1) {image=0; RAISE("mmap: %s", strerror(errno));}
 	} else {
-		image = new uint8[dim->prod(0,1)*bit_packing3->bytes];
+		image = new uint8[dim->prod(0,1)*4];
 	}
 }
 



More information about the Gridflow-cvs mailing list