X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmjpegls%2FDecoder%2Flossy_d.c;h=113080141b38f6dc39c7fe379d53bcaf8a9c14ee;hb=94015b89675cf4431c7e4953a597b70cfde03bcc;hp=7046e3ee7479795ad98d3e69305ceed98bad677e;hpb=8a8b4ae83ad19690f0cc51ebc9091d75ffc1cd8d;p=gdcm.git diff --git a/src/gdcmjpegls/Decoder/lossy_d.c b/src/gdcmjpegls/Decoder/lossy_d.c index 7046e3ee..11308014 100644 --- a/src/gdcmjpegls/Decoder/lossy_d.c +++ b/src/gdcmjpegls/Decoder/lossy_d.c @@ -72,7 +72,7 @@ inline int lossy_regular_mode_d(int Q, int SIGN, int Px) At = A[Q]; /* Estimate k */ { - register nst = Nt; + register int nst = Nt; for(k=0; nst < At; nst *=2, k++); } @@ -195,8 +195,7 @@ inline int lossy_regular_mode_d(int Q, int SIGN, int Px) /* Do end of run DECODING for LOSSY images */ inline pixel lossy_end_of_run_d(pixel Ra, pixel Rb, int RItype) { - int xpr, - Ix, + int Ix, Errval, absErrval, MErrval, @@ -518,7 +517,7 @@ int lossy_undoscanline_pixel( pixel *psl, /* previous scanline */ /*** watch it! actual pixels in the scan line are numbered 1 to no . pixels with indices < 1 or > no are dummy "border" pixels */ { - int i, psfix, n_c, color, enter_run=0, break_run, was_in_run = 0, + int i, psfix, n_c, color, enter_run=0, was_in_run = 0, test_run; pixel Ra, Rb, Rc, Rd; pixel c_aa[MAX_COMPONENTS],