diff options
-rw-r--r-- | src/JPEGOutputImage.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/JPEGOutputImage.cxx b/src/JPEGOutputImage.cxx index d801166..9e00458 100644 --- a/src/JPEGOutputImage.cxx +++ b/src/JPEGOutputImage.cxx @@ -26,10 +26,11 @@ extern "C" { #include "JPEGOutputImage.H" -JPEGOutputImage::JPEGOutputImage(const char *f, int quality) { +JPEGOutputImage::JPEGOutputImage(const char *f, int q) { file = strdup(f); fp = NULL; row = NULL; + quality = q; } JPEGOutputImage::~JPEGOutputImage() { |