summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/jp2.h
diff options
context:
space:
mode:
authorszukw000 <szukw000@arcor.de>2017-07-31 13:58:08 +0200
committerszukw000 <szukw000@arcor.de>2017-07-31 13:58:08 +0200
commit00f45684a8339e69ed55df2397f3c19d09fecaed (patch)
tree171f881e7b3bcad1afed20d69aa7a8c02ec9dad8 /src/lib/openjp2/jp2.h
parent13cde9fa37249628af6b6f10601b733f87a025f4 (diff)
Catch images broken by AFL
Diffstat (limited to 'src/lib/openjp2/jp2.h')
-rw-r--r--src/lib/openjp2/jp2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/openjp2/jp2.h b/src/lib/openjp2/jp2.h
index 2e248061..aaff1609 100644
--- a/src/lib/openjp2/jp2.h
+++ b/src/lib/openjp2/jp2.h
@@ -187,6 +187,8 @@ typedef struct opj_jp2 {
opj_jp2_color_t color;
OPJ_BOOL ignore_pclr_cmap_cdef;
+ OPJ_BYTE has_jp2h; /* for AFL test */
+ OPJ_BYTE has_ihdr; /* for AFL test */
}
opj_jp2_t;