summaryrefslogtreecommitdiff
path: root/src/lib/openjpip
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2015-09-29 05:55:43 +0200
committerStefan Weil <sw@weilnetz.de>2015-09-29 05:55:43 +0200
commit99fc1ab306f9db0085adf648369404ce8aae22a9 (patch)
treee578bd00dd5fe582d12ecf14d35f09f0d937f3b2 /src/lib/openjpip
parent838dfb8058df62af44905e1fa3936d989844effc (diff)
Fix typos in comments and string
Most typos were found by codespell. Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'src/lib/openjpip')
-rw-r--r--src/lib/openjpip/cachemodel_manager.h2
-rw-r--r--src/lib/openjpip/jpip_parser.c2
-rw-r--r--src/lib/openjpip/target_manager.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/openjpip/cachemodel_manager.h b/src/lib/openjpip/cachemodel_manager.h
index ac54026d..041f1ad9 100644
--- a/src/lib/openjpip/cachemodel_manager.h
+++ b/src/lib/openjpip/cachemodel_manager.h
@@ -80,7 +80,7 @@ void print_cachemodel( cachemodel_param_t cachemodel);
/**
* search a cache model of a target
*
- * @param[in] target refering target
+ * @param[in] target referring target
* @param[in] cachemodellist cache model list
* @return found cache model pointer
*/
diff --git a/src/lib/openjpip/jpip_parser.c b/src/lib/openjpip/jpip_parser.c
index c206662d..d44c84c8 100644
--- a/src/lib/openjpip/jpip_parser.c
+++ b/src/lib/openjpip/jpip_parser.c
@@ -357,7 +357,7 @@ void enqueue_precincts( int xmin, int xmax, int ymin, int ymax, int tile_id, int
Byte4_t xminP, xmaxP, yminP, ymaxP;
codeidx = msgqueue->cachemodel->target->codeidx;
- /* MM: shouldnt xmin/xmax be Byte4_t instead ? */
+ /* MM: shouldn't xmin/xmax be Byte4_t instead ? */
if( xmin < 0 || xmax < 0 || ymin < 0 || ymax < 0)
return;
/* MM: I think the API should not really be int should it ? */
diff --git a/src/lib/openjpip/target_manager.h b/src/lib/openjpip/target_manager.h
index 4ed99a79..561510f5 100644
--- a/src/lib/openjpip/target_manager.h
+++ b/src/lib/openjpip/target_manager.h
@@ -46,7 +46,7 @@ typedef struct target_param{
#endif
int csn; /**< codestream number */
index_param_t *codeidx; /**< index information of codestream */
- int num_of_use; /**< numbers of sessions refering to this target */
+ int num_of_use; /**< numbers of sessions referring to this target */
OPJ_BOOL jppstream; /**< if this target can return JPP-stream */
OPJ_BOOL jptstream; /**< if this target can return JPP-stream */
struct target_param *next; /**< pointer to the next target */