X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmjpegls%2FDecoder%2Fdecoder.c;h=b193724ec8206a8538dabc3580757042fab04c3d;hb=88d681d129a1e8b361c75a0d4f246f68b39db1b9;hp=3fe7407dbe6b9a2488431034c3a7a67562b1c45f;hpb=d9300e649f7b6e7c36abf062857f7f412c4c9999;p=gdcm.git diff --git a/src/gdcmjpegls/Decoder/decoder.c b/src/gdcmjpegls/Decoder/decoder.c index 3fe7407d..b193724e 100644 --- a/src/gdcmjpegls/Decoder/decoder.c +++ b/src/gdcmjpegls/Decoder/decoder.c @@ -58,7 +58,12 @@ #define PGMNAME PGMPREFIX "d" #define EPGMNAME PGMPREFIX "e" -static char *banner="\n\ +/* define color mode strings */ +char plane_int_string[] = "plane by plane", + line_int_string[] = "line intlv", + pixel_int_string[] = "sample intlv"; + +static char banner[]="\n\ =============================================\n\ SPMG/JPEG-LS DECOMPRESSOR " JPEGLSVERSION "\n\ =============================================\n\ @@ -119,6 +124,7 @@ int highmask; #endif +void usage(); @@ -301,9 +307,9 @@ void closebuffers(int multi) /* command line argument parsing */ int initialize(int argc, char *argv[]) { - char *infilename = NULL, - *outfilename = OUTFILE ".out", - *c_outfilename[MAX_COMPONENTS], + char *infilename = NULL; + const char *outfilename = OUTFILE ".out"; + char *c_outfilename[MAX_COMPONENTS], *color_mode_string; int i, max_samp_columns, max_samp_rows, mk, n_s, end_of_seek=0,