diff --git a/dcmdata/libsrc/dcrleccd.cc b/dcmdata/libsrc/dcrleccd.cc index 68f45443b..8416ea68a 100644 --- a/dcmdata/libsrc/dcrleccd.cc +++ b/dcmdata/libsrc/dcrleccd.cc @@ -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; }