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;