summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/JPEGOutputImage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/JPEGOutputImage.cxx b/src/JPEGOutputImage.cxx
index 09fd4c6..d801166 100644
--- a/src/JPEGOutputImage.cxx
+++ b/src/JPEGOutputImage.cxx
@@ -93,7 +93,7 @@ JPEGOutputImage::next_line_internal() {
JSAMPROW row_pointer[1];
row_pointer[0] = row;
- jpeg_write_scanlines(&cinfo, &row_pointer, 1);
+ jpeg_write_scanlines(&cinfo, row_pointer, 1);
memset(row, 0, sizeof(char) * 3 * W);
return 0;
}