summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/j2k.h
diff options
context:
space:
mode:
authorMatthieu Darbois <mayeut@users.noreply.github.com>2015-05-19 20:13:37 +0000
committerMatthieu Darbois <mayeut@users.noreply.github.com>2015-05-19 20:13:37 +0000
commitdaed8cc9195555e101ab708a501af2dfe6d5e001 (patch)
treea76c2c77d11a1a4706dbe5957e7e32202e62ec8d /src/lib/openjp2/j2k.h
parent2d24b6000d5611615e3e6d799e20d5fdbe4e2a1e (diff)
[trunk] Add check for at most 1 COD marker per tile. 1 COD marker for MH (fixes issue 476)
Diffstat (limited to 'src/lib/openjp2/j2k.h')
-rw-r--r--src/lib/openjp2/j2k.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/openjp2/j2k.h b/src/lib/openjp2/j2k.h
index 909e3511..10e22aa6 100644
--- a/src/lib/openjp2/j2k.h
+++ b/src/lib/openjp2/j2k.h
@@ -293,6 +293,8 @@ typedef struct opj_tcp
/***** FLAGS *******/
+ /** If cod == 1 --> there was a COD marker for the present tile */
+ OPJ_UINT32 cod : 1;
/** If ppt == 1 --> there was a PPT marker for the present tile */
OPJ_UINT32 ppt : 1;
/** indicates if a POC marker has been used O:NO, 1:YES */