summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2017-10-12 01:05:04 +0200
committerEven Rouault <even.rouault@spatialys.com>2017-10-12 01:05:04 +0200
commitb8bf9bf78995526bbf0dc0536914661a07f9d2f5 (patch)
treea3da62d7f06871060d398933348f1bfa3658fc1c /src/lib
parent66297f07a43d2770a97c8456d20202f3d051d980 (diff)
Improve doc of opj_codec_set_threads()
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/openjp2/openjpeg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/openjp2/openjpeg.h b/src/lib/openjp2/openjpeg.h
index f36286eb..a8357c93 100644
--- a/src/lib/openjp2/openjpeg.h
+++ b/src/lib/openjp2/openjpeg.h
@@ -1313,6 +1313,9 @@ OPJ_API OPJ_BOOL OPJ_CALLCONV opj_setup_decoder(opj_codec_t *p_codec,
* number, or "ALL_CPUS". If OPJ_NUM_THREADS is set and this function is called,
* this function will override the behaviour of the environment variable.
*
+ * Currently this function must be called after opj_setup_decoder() and
+ * before opj_read_header().
+ *
* Note: currently only has effect on the decompressor.
*
* @param p_codec decompressor handler