diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2017-07-26 21:39:50 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2017-07-26 21:43:32 +0200 |
| commit | 94c4b7300cc515330bf798bb45eb0d68e2c84aa0 (patch) | |
| tree | 4059448090f1fa81c48d21c7addd5abaab721ea3 /src/lib/openjp2/mqc.h | |
| parent | 5e795d90a1e47616e0c7a2e39381c13ccf7fd6dd (diff) | |
T1 decoder: check code stream errors when predictable termination is enabled and emit a warning when errors are found
Diffstat (limited to 'src/lib/openjp2/mqc.h')
| -rw-r--r-- | src/lib/openjp2/mqc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/openjp2/mqc.h b/src/lib/openjp2/mqc.h index 06815ab1..0bc7b2b7 100644 --- a/src/lib/openjp2/mqc.h +++ b/src/lib/openjp2/mqc.h @@ -78,6 +78,8 @@ typedef struct opj_mqc { OPJ_UINT32 a; /** number of bits already read or free to write */ OPJ_UINT32 ct; + /* only used by decoder, to count the number of times a terminating 0xFF >0x8F marker is read */ + OPJ_UINT32 end_of_byte_stream_counter; /** pointer to the current position in the buffer */ OPJ_BYTE *bp; /** pointer to the start of the buffer */ |
