We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ffd5e2 commit 0d1c5dfCopy full SHA for 0d1c5df
src/nyx/dicom_util.h
@@ -10,13 +10,8 @@ Uint32 getFrameSize(DcmDataset* dataset)
10
return 0;
11
12
Uint32 frameSize = 0;
13
-#if OFFIS_DCMTK_VERSION_NUMBER >= 0x036800
14
- // DCMTK 3.6.8+ expects a boolean indicating uncompressed state
15
OFBool isUncompressed = (pixelData->transferState() == ERW_memory);
16
status = pixelData->getUncompressedFrameSize(dataset, frameSize, isUncompressed);
17
-#else
18
- // DCMTK 3.6.7 signature without boolean
19
- status = pixelData->getUncompressedFrameSize(dataset, frameSize);
20
-#endif
+
21
return status.good() ? frameSize : 0;
22
}
0 commit comments