Second commit

This commit is contained in:
Matteo Paonessa 2015-05-09 16:27:24 +02:00
parent 97627a804d
commit aa1b4419a7
3 changed files with 49 additions and 49 deletions

BIN
bin/cclt

Binary file not shown.

View File

@ -11,8 +11,8 @@ void cclt_compress(char* output_file, unsigned char* image_buffer)
struct jpeg_error_mgr jerr;
FILE * outfile;
JSAMPROW row_pointer[1]; /* pointer to JSAMPLE row[s] */
int row_stride; /* physical row width in image buffer */
JSAMPROW row_pointer[1];
int row_stride;
if ((outfile = fopen(output_file, "wb")) == NULL) {
fprintf(stderr, "can't open %s\n", output_file);

2
main.c
View File

@ -15,7 +15,7 @@
-o output file
-v version
-l lossless
-s
-s scale
-h help
-R recursive