/[pcsx2_0.9.7]/branch/debug/0.X/0.9.X/0.9.7/ramdump-lateset/plugins/zzogl-pg/opengl/Win32/aviUtil.h
ViewVC logotype

Diff of /branch/debug/0.X/0.9.X/0.9.7/ramdump-lateset/plugins/zzogl-pg/opengl/Win32/aviUtil.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- branch/debug/0.X/0.9.X/0.9.7/ramdump-lateset/plugins/zzogl-pg/opengl/Win32/aviUtil.h	2010/12/26 16:21:07	313
+++ branch/debug/0.X/0.9.X/0.9.7/ramdump-lateset/plugins/zzogl-pg/opengl/Win32/aviUtil.h	2010/12/26 18:56:19	314
@@ -351,7 +351,7 @@
 static PAVIFILE pfile = NULL;
 static PAVISTREAM ps = NULL;
 static PAVISTREAM psCompressed = NULL;
-static int count = 0;
+static int avi_count = 0;
 
 
 // Initialization...
@@ -374,7 +374,7 @@
 
 bool ADD_FRAME_FROM_DIB_TO_AVI(const char* _compressor, int _frameRate, int width, int height, int bits, void* pdata)
 {
-	if(count == 0)
+	if(avi_count == 0)
 	{
 		if(! AVI_CreateStream(pfile, &ps, _frameRate,
 			width*height/bits,
@@ -401,7 +401,7 @@
 	}
 
 	HRESULT hr = AVIStreamWrite(psCompressed, // stream pointer
-		count, // time of this frame
+		avi_count, // time of this frame
 		1, // number to write
 		pdata,
 		width*height/8, // lpbi->biSizeImage, // size of this frame
@@ -416,7 +416,7 @@
 		return FALSE;
 	}
 
-	count++;
+	avi_count++;
 	return true;
 }
 
@@ -425,7 +425,7 @@
 bool ADD_FRAME_FROM_DIB_TO_AVI(HANDLE dib, const char* _compressor, int _frameRate)
 {
 	LPBITMAPINFOHEADER lpbi;
-	if(count == 0)
+	if(avi_count == 0)
 	{
 		lpbi = (LPBITMAPINFOHEADER)GlobalLock(dib);
 		if(! AVI_CreateStream(pfile, &ps, _frameRate,
@@ -449,7 +449,7 @@
 	}
 
 	lpbi = (LPBITMAPINFOHEADER)GlobalLock(dib);
-	if(! AVI_AddFrame(psCompressed, count * 1, lpbi))
+	if(! AVI_AddFrame(psCompressed, avi_count * 1, lpbi))
 	{
 		//printf("Error - AVI_AddFrame()\n");
 		GlobalUnlock(lpbi);
@@ -457,7 +457,7 @@
 	}
 
 	GlobalUnlock(lpbi);
-	count++;
+	avi_count++;
 	return true;
 }
 

 

  ViewVC Help
Powered by ViewVC 1.1.22