]> Creatis software - gdcm.git/blobdiff - src/gdcmjpegls/Decoder/bitio.c
avoid segfault when unaware user sets SplitOnly to true, and the asks for ImageDataVector
[gdcm.git] / src / gdcmjpegls / Decoder / bitio.c
index 6309f20af79132b4d579cd873e7f6d5ada725595..7283e5a5378d2f1e9278b85f7696e6059cdb5dff 100644 (file)
@@ -54,9 +54,9 @@
 #include <string.h> /* for memset */
 
 
-extern int zeroLUT[];     /* lookup table to find number of leading zeroes */
+/*extern int zeroLUT[];  */   /* lookup table to find number of leading zeroes */
 
-extern FILE *in, *out;
+/*extern FILE *in, *out; */
 
 byte negbuff[BUFSIZE+4];    /* byte I/O buffer, allowing for 4 "negative" 
                    locations  */
@@ -78,7 +78,7 @@ int zeroLUT[256];      /* table to find out number of leading zeros */
 /* BIT I/O variables */
 dword reg; /* BIT buffer for input/output */
 int bits;  /* number of bits free in bit buffer (on output) */
-     /* (number of bits free)-8 in bit buffer (on input)*/
+           /* (number of bits free)-8 in bit buffer (on input)*/
 
 
 /****************************************************************************