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_inl.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_inl.h')
| -rw-r--r-- | src/lib/openjp2/mqc_inl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/openjp2/mqc_inl.h b/src/lib/openjp2/mqc_inl.h index 095a9fcf..832331ee 100644 --- a/src/lib/openjp2/mqc_inl.h +++ b/src/lib/openjp2/mqc_inl.h @@ -109,6 +109,7 @@ static INLINE OPJ_UINT32 opj_mqc_raw_decode(opj_mqc_t *mqc) if (l_c > 0x8f) { \ c += 0xff00; \ ct = 8; \ + mqc->end_of_byte_stream_counter ++; \ } else { \ mqc->bp++; \ c += l_c << 9; \ |
