diff --git a/example.c b/example.c index f795aea0..c0bdc39d 100644 --- a/example.c +++ b/example.c @@ -737,9 +737,8 @@ main(int argc, char **argv) arg++; /* advance past switch marker character */ #ifdef WITH_12BIT - if (!strncasecmp(arg, "1", 1)) { + if (!strncasecmp(arg, "1", 1)) _12bit = 1; - } else #endif if (!strncasecmp(arg, "q", 1)) { diff --git a/jmorecfg.h b/jmorecfg.h index 16b091e3..8681af42 100644 --- a/jmorecfg.h +++ b/jmorecfg.h @@ -50,8 +50,8 @@ typedef unsigned char JSAMPLE; #define GETJSAMPLE(value) ((int)(value)) -#define MAXJSAMPLE 255 -#define CENTERJSAMPLE 128 +#define MAXJSAMPLE 255 +#define CENTERJSAMPLE 128 /* J12SAMPLE should be the smallest type that will hold the values 0..4095. @@ -60,8 +60,8 @@ typedef unsigned char JSAMPLE; typedef short J12SAMPLE; -#define MAXJ12SAMPLE 4095 -#define CENTERJ12SAMPLE 2048 +#define MAXJ12SAMPLE 4095 +#define CENTERJ12SAMPLE 2048 /* Representation of a DCT frequency coefficient. diff --git a/jpeglibint.h b/jpeglibint.h index 6aac021f..4f11f6a7 100644 --- a/jpeglibint.h +++ b/jpeglibint.h @@ -197,7 +197,7 @@ #define jinit_memory_mgr j12init_memory_mgr #define jdiv_round_up j12div_round_up #define jround_up j12round_up -#define jcopy_sample_rows j12copy_sample_rows +#define jcopy_sample_rows j12copy_sample_rows #define jcopy_block_row j12copy_block_row #define jzero_far j12zero_far