X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmjpegls%2FDecoder%2Fbitio.c;h=7283e5a5378d2f1e9278b85f7696e6059cdb5dff;hb=57ec56658548c34052a1c1678ffcb6907c3faeec;hp=cc0d73729236a5f237a6f5e1a62c4ca0ac71b9af;hpb=f80c00b9d21990c7f843dc801e6cd251a887d4ca;p=gdcm.git diff --git a/src/gdcmjpegls/Decoder/bitio.c b/src/gdcmjpegls/Decoder/bitio.c index cc0d7372..7283e5a5 100644 --- a/src/gdcmjpegls/Decoder/bitio.c +++ b/src/gdcmjpegls/Decoder/bitio.c @@ -54,9 +54,9 @@ #include /* 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)*/ /**************************************************************************** @@ -187,11 +187,11 @@ void bitiflush() { } discard = filled-k; if ( treg != (reg<