From 1fb537bf51c02a756ebea868da1172addf25dbdd Mon Sep 17 00:00:00 2001 From: vj586da Date: Sun, 23 Jan 2022 23:30:22 +0100 Subject: [PATCH] comment --- sk2a/compressor.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sk2a/compressor.c b/sk2a/compressor.c index d38206e..9161262 100644 --- a/sk2a/compressor.c +++ b/sk2a/compressor.c @@ -7,12 +7,19 @@ #define BUFSIZE 2000000 #define BSIZE 9 + int mycompress(char* buff,int size,char* outbuf){ //memcpy(outbuf,buff,size); int k = 0; int head = 0; while(head < size && buff[head] > 0 ){ - + // + // + // Kod inspirovany riesenim + // pana Ing. Daniela Hladeka + // + // + // int bufferSize = BSIZE; if (head < bufferSize){ bufferSize = head;