summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Kramm <kramm@quiss.org>2011-10-11 15:38:39 -0700
committerMatthias Kramm <kramm@quiss.org>2011-10-11 15:38:39 -0700
commit22efe78616f03670ac182edaa3bcfe988327727e (patch)
treea12a34d382a002dc17b5cf5a6c7ec65b1b1fd446
parentc1744d284a69ade21539ac14abc83ef5c9042687 (diff)
fixed compile error if jpeglib is missing
-rw-r--r--lib/jpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jpeg.c b/lib/jpeg.c
index e10f90d8..3b73bb52 100644
--- a/lib/jpeg.c
+++ b/lib/jpeg.c
@@ -478,7 +478,7 @@ int jpeg_save_to_file(unsigned char*data, unsigned width, unsigned height, int q
fprintf(stderr, "jpeg_save_to_file: No JPEG support compiled in\n");
return 0;
}
-int jpeg_save_to_mem(unsigned char*data, unsigned width, unsigned height, int quality, unsigned char*dest, int destsize)
+int jpeg_save_to_mem(unsigned char*data, unsigned width, unsigned height, int quality, unsigned char*_dest, int _destlen, int components)
{
fprintf(stderr, "jpeg_save_tomem: No JPEG support compiled in\n");
return 0;