Fix formatting issues detected by checkstyle

This commit is contained in:
DRC
2022-03-10 23:10:12 -06:00
parent 7fec5074f9
commit a32038e3b3
3 changed files with 6 additions and 7 deletions

View File

@@ -737,9 +737,8 @@ main(int argc, char **argv)
arg++; /* advance past switch marker character */ arg++; /* advance past switch marker character */
#ifdef WITH_12BIT #ifdef WITH_12BIT
if (!strncasecmp(arg, "1", 1)) { if (!strncasecmp(arg, "1", 1))
_12bit = 1; _12bit = 1;
}
else else
#endif #endif
if (!strncasecmp(arg, "q", 1)) { if (!strncasecmp(arg, "q", 1)) {

View File

@@ -50,8 +50,8 @@
typedef unsigned char JSAMPLE; typedef unsigned char JSAMPLE;
#define GETJSAMPLE(value) ((int)(value)) #define GETJSAMPLE(value) ((int)(value))
#define MAXJSAMPLE 255 #define MAXJSAMPLE 255
#define CENTERJSAMPLE 128 #define CENTERJSAMPLE 128
/* J12SAMPLE should be the smallest type that will hold the values 0..4095. /* J12SAMPLE should be the smallest type that will hold the values 0..4095.
@@ -60,8 +60,8 @@ typedef unsigned char JSAMPLE;
typedef short J12SAMPLE; typedef short J12SAMPLE;
#define MAXJ12SAMPLE 4095 #define MAXJ12SAMPLE 4095
#define CENTERJ12SAMPLE 2048 #define CENTERJ12SAMPLE 2048
/* Representation of a DCT frequency coefficient. /* Representation of a DCT frequency coefficient.

View File

@@ -197,7 +197,7 @@
#define jinit_memory_mgr j12init_memory_mgr #define jinit_memory_mgr j12init_memory_mgr
#define jdiv_round_up j12div_round_up #define jdiv_round_up j12div_round_up
#define jround_up j12round_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 jcopy_block_row j12copy_block_row
#define jzero_far j12zero_far #define jzero_far j12zero_far