about summary refs log tree commit diff
path: root/converter/other/jpeg2000
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2022-11-06 17:10:48 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2022-11-06 17:10:48 +0000
commite04046dcaa4644a4faadf55463f638413adbe041 (patch)
tree2a53aa1858f771075d9cf3b1758d727fab873340 /converter/other/jpeg2000
parentcc1a3c19ede0ad43d164905d67075f2d5678f1ee (diff)
downloadnetpbm-mirror-e04046dcaa4644a4faadf55463f638413adbe041.tar.gz
netpbm-mirror-e04046dcaa4644a4faadf55463f638413adbe041.tar.xz
netpbm-mirror-e04046dcaa4644a4faadf55463f638413adbe041.zip
Add comment
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4452 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/jpeg2000')
-rw-r--r--converter/other/jpeg2000/libjasper/jpc/jpc_math.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/converter/other/jpeg2000/libjasper/jpc/jpc_math.c b/converter/other/jpeg2000/libjasper/jpc/jpc_math.c
index 01e3611e..a884ed4d 100644
--- a/converter/other/jpeg2000/libjasper/jpc/jpc_math.c
+++ b/converter/other/jpeg2000/libjasper/jpc/jpc_math.c
@@ -50,6 +50,8 @@ jpc_firstone(int_fast32_t const arg) {
 /*---------------------------------------------------------------------------- 
   Calculate the bit position of the first leading one in a nonnegative
   integer.
+
+  LSB is bit position 0.  Iff there are no ones, return -1.
 -----------------------------------------------------------------------------*/
 	int n;
     int x;