Skip to content

Commit 2150e2d

Browse files
committed
Improved diagnostic log output.
1 parent bffa3e9 commit 2150e2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dcmdata/libsrc/dcrleccd.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ OFCondition DcmRLECodecDecoder::decode(
364364
// last fragment for this RLE stripe
365365
if (inputBytes + byteOffset > fragmentLength)
366366
{
367-
DCMDATA_ERROR("stream size in RLE header is wrong");
367+
DCMDATA_WARN("stream size in RLE header is wrong, adjusting from " << inputBytes << " to " << fragmentLength-byteOffset << " bytes.");
368368
inputBytes = fragmentLength-byteOffset;
369369
}
370370

0 commit comments

Comments
 (0)