X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmjpegls%2FDecoder%2Flossless_d.c;h=a130cb3a1f997a1064999e7abd2a73486ab9b83c;hb=b06cbd9177331d793223eac6bf8b2bccf874e7e3;hp=ec16cec9fe010e144a384fa0af30128973e8c86d;hpb=8faae97d98524fc15b41e007a1189a2acbd573bd;p=gdcm.git diff --git a/src/gdcmjpegls/Decoder/lossless_d.c b/src/gdcmjpegls/Decoder/lossless_d.c index ec16cec9..a130cb3a 100644 --- a/src/gdcmjpegls/Decoder/lossless_d.c +++ b/src/gdcmjpegls/Decoder/lossless_d.c @@ -541,7 +541,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, n_c, color, enter_run=0, was_in_run = 0, + int i, n_c, color, was_in_run = 0, test_run; pixel Ra, Rb, Rc, Rd; pixel c_aa[MAX_COMPONENTS], @@ -593,7 +593,7 @@ int lossless_undoscanline_pixel(pixel *psl, /* previous scanline */ Rd=c_dd[color]; cont=c_cont[color]; - enter_run = was_in_run = test_run = 0; + was_in_run = test_run = 0; if (color == 0) { test_run = 1; @@ -610,7 +610,7 @@ int lossless_undoscanline_pixel(pixel *psl, /* previous scanline */ register int n, m; - enter_run = was_in_run = 1; + was_in_run = 1; /* get length of the run */ /* arg is # of pixels left */ @@ -742,7 +742,7 @@ int lossless_undoscanline_pixel(pixel *psl, /* previous scanline */ Rd=c_dd[color]; cont=c_cont[color]; - enter_run = was_in_run = test_run = 0; + was_in_run = test_run = 0; if (color == 0) { test_run = 1; @@ -759,7 +759,7 @@ int lossless_undoscanline_pixel(pixel *psl, /* previous scanline */ register int n, m; - enter_run = was_in_run = 1; + was_in_run = 1; /* get length of the run */ /* arg is # of pixels left */