summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/t2.h
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2017-08-16 12:52:33 +0200
committerEven Rouault <even.rouault@spatialys.com>2017-08-16 12:52:33 +0200
commit9624b2fa4722edf77fbac631e7dacaae12c91672 (patch)
tree958366ccd25936bf3a66f93f315499eb90a88442 /src/lib/openjp2/t2.h
parent4241ae6fbbf1de9658764a80944dc8108f2b4154 (diff)
opj_t2_encode_packet(): only emit an error about insufficiently large output buffer in FINAL_PASS mode. Fixes (master-only) regression added in 0b4fef6d1901254e41ab74ed681daba477d724c3
Diffstat (limited to 'src/lib/openjp2/t2.h')
-rw-r--r--src/lib/openjp2/t2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/t2.h b/src/lib/openjp2/t2.h
index a1994e82..111aa2de 100644
--- a/src/lib/openjp2/t2.h
+++ b/src/lib/openjp2/t2.h
@@ -75,7 +75,7 @@ Encode the packets of a tile to a destination buffer
@param tpnum Tile part number of the current tile
@param tppos The position of the tile part flag in the progression order
@param pino FIXME DOC
-@param t2_mode If == 0 In Threshold calculation ,If == 1 Final pass
+@param t2_mode If == THRESH_CALC In Threshold calculation ,If == FINAL_PASS Final pass
@param p_manager the user event manager
*/
OPJ_BOOL opj_t2_encode_packets(opj_t2_t* t2,