Skip to content

Commit

Permalink
Improved diagnostic log output.
Browse files Browse the repository at this point in the history
  • Loading branch information
eichelberg committed Jan 24, 2025
1 parent bffa3e9 commit 2150e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dcmdata/libsrc/dcrleccd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ OFCondition DcmRLECodecDecoder::decode(
// last fragment for this RLE stripe
if (inputBytes + byteOffset > fragmentLength)
{
DCMDATA_ERROR("stream size in RLE header is wrong");
DCMDATA_WARN("stream size in RLE header is wrong, adjusting from " << inputBytes << " to " << fragmentLength-byteOffset << " bytes.");
inputBytes = fragmentLength-byteOffset;
}

Expand Down

0 comments on commit 2150e2d

Please sign in to comment.