Skip to content

Commit 0d1c5df

Browse files
committed
update
1 parent 0ffd5e2 commit 0d1c5df

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/nyx/dicom_util.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,8 @@ Uint32 getFrameSize(DcmDataset* dataset)
1010
return 0;
1111

1212
Uint32 frameSize = 0;
13-
#if OFFIS_DCMTK_VERSION_NUMBER >= 0x036800
14-
// DCMTK 3.6.8+ expects a boolean indicating uncompressed state
1513
OFBool isUncompressed = (pixelData->transferState() == ERW_memory);
1614
status = pixelData->getUncompressedFrameSize(dataset, frameSize, isUncompressed);
17-
#else
18-
// DCMTK 3.6.7 signature without boolean
19-
status = pixelData->getUncompressedFrameSize(dataset, frameSize);
20-
#endif
15+
2116
return status.good() ? frameSize : 0;
2217
}

0 commit comments

Comments
 (0)