summaryrefslogtreecommitdiff
path: root/rMD-exp/src/cache_frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'rMD-exp/src/cache_frame.c')
-rw-r--r--rMD-exp/src/cache_frame.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/rMD-exp/src/cache_frame.c b/rMD-exp/src/cache_frame.c
index 6b214e0..6f97723 100644
--- a/rMD-exp/src/cache_frame.c
+++ b/rMD-exp/src/cache_frame.c
@@ -25,7 +25,8 @@
**********************************************************************************/
#include <recordmydesktop.h>
-#include <zlib.h>
+
+
void MakeChecksums(unsigned char *buf,int width,int height,int divisor,unsigned short int *checksums){
int i,k,j,m;
@@ -60,8 +61,8 @@ void *CacheImageBuffer(void *pdata){
pthread_mutex_init(&pmut,NULL);
pthread_mutex_init(&imut,NULL);
yuv_buffer yuv[2];
- gzFile *fp;
- fp=gzopen("temp.out","wb1f");
+ gzFile *fp=((ProgData *)pdata)->cache_data->ifp;
+
if(fp==NULL)exit(13);
unsigned short int checksums_y[2][256],
© All Rights Reserved