From 22efe78616f03670ac182edaa3bcfe988327727e Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Tue, 11 Oct 2011 15:38:39 -0700 Subject: [PATCH] fixed compile error if jpeglib is missing --- lib/jpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.4.GIT