Skip to content

Commit c189501

Browse files
committed
Fixed bug in DicomMultiFrameStreamer
1 parent a6115d3 commit c189501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/FAST/Streamers/DicomMultiFrameStreamer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ void DicomMultiFrameStreamer::load() {
4949
}
5050
m_fileFormat = std::make_shared<DcmFileFormat>();
5151
OFCondition status = m_fileFormat->loadFile(m_filename.c_str());
52-
if(!status.good()) {
52+
if(status.good()) {
5353
m_dataset = m_fileFormat->getDataset();
5454
} else {
5555
throw Exception("Unable to read dicom dataset");

0 commit comments

Comments
 (0)