[trunk] rename function with the new opj_ prefix
authorMickael Savinaud <savmickael@users.noreply.github.com>
Thu, 15 Nov 2012 16:42:55 +0000 (16:42 +0000)
committerMickael Savinaud <savmickael@users.noreply.github.com>
Thu, 15 Nov 2012 16:42:55 +0000 (16:42 +0000)
src/lib/openjp2/t2.c

index 1895a5fbdc1fddc1d0c6bd6625ace37ce91ec247..f48847b8fccc28f899eb8791c7078594388f6b16 100644 (file)
@@ -39,7 +39,7 @@
 /** @name Local static functions */
 /*@{*/
 
-static void t2_putcommacode(opj_bio_t *bio, int n);
+static void opj_t2_putcommacode(opj_bio_t *bio, OPJ_INT32 n);
 
 static OPJ_UINT32 opj_t2_getcommacode(opj_bio_t *bio); 
 /**
@@ -145,8 +145,7 @@ static OPJ_BOOL opj_t2_init_seg(    opj_tcd_cblk_dec_t* cblk,
 /* ----------------------------------------------------------------------- */
 
 /* #define RESTART 0x04 */
-/* TODO MSD->LHE */
-static void t2_putcommacode(opj_bio_t *bio, int n) {
+static void opj_t2_putcommacode(opj_bio_t *bio, OPJ_INT32 n) {
         while (--n >= 0) {
                 opj_bio_write(bio, 1, 1);
         }
@@ -641,7 +640,7 @@ OPJ_BOOL opj_t2_encode_packet(  OPJ_UINT32 tileno,
 
                                 ++pass;
                         }
-                        t2_putcommacode(bio, increment);
+                        opj_t2_putcommacode(bio, increment);
 
                         /* computation of the new Length indicator */
                         cblk->numlenbits += increment;