X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmjpegls%2FDecoder%2Flossless_d.c;h=3887127b054fc08c8ebc7efc631ef2ffaaed6103;hb=94015b89675cf4431c7e4953a597b70cfde03bcc;hp=a99a73e9a5d846182b7976c76fc8c4989ea000ca;hpb=5643fadddc60ed9986f21bddf1e1ed1d36f5d7a2;p=gdcm.git diff --git a/src/gdcmjpegls/Decoder/lossless_d.c b/src/gdcmjpegls/Decoder/lossless_d.c index a99a73e9..3887127b 100644 --- a/src/gdcmjpegls/Decoder/lossless_d.c +++ b/src/gdcmjpegls/Decoder/lossless_d.c @@ -73,7 +73,7 @@ inline int lossless_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++); } @@ -542,7 +542,7 @@ int lossless_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],