aboutsummaryrefslogtreecommitdiff
path: root/cdjpeg.h
diff options
context:
space:
mode:
Diffstat (limited to 'cdjpeg.h')
-rw-r--r--cdjpeg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cdjpeg.h b/cdjpeg.h
index 71b0c4fb..082687ce 100644
--- a/cdjpeg.h
+++ b/cdjpeg.h
@@ -5,7 +5,7 @@
* Copyright (C) 1994-1997, Thomas G. Lane.
* Modified 2019 by Guido Vollbeding.
* libjpeg-turbo Modifications:
- * Copyright (C) 2017, 2019, D. R. Commander.
+ * Copyright (C) 2017, 2019, 2021, D. R. Commander.
* For conditions of distribution and use, see the accompanying README.ijg
* file.
*
@@ -36,6 +36,9 @@ struct cjpeg_source_struct {
JSAMPARRAY buffer;
JDIMENSION buffer_height;
+#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
+ JDIMENSION max_pixels;
+#endif
};