Mercurial > hg > orthanc-stone
comparison Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp @ 1564:e731e62692a9
upgrading Orthanc framework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Sep 2020 15:18:21 +0200 |
parents | cf652990abb1 |
children | b8b4cb58a874 |
comparison
equal
deleted
inserted
replaced
1563:e0045462a25c | 1564:e731e62692a9 |
---|---|
1148 { | 1148 { |
1149 // Safety check | 1149 // Safety check |
1150 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError); | 1150 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError); |
1151 } | 1151 } |
1152 | 1152 |
1153 std::unique_ptr<Orthanc::ImageAccessor> frame( | 1153 std::unique_ptr<Orthanc::ImageAccessor> frame(message.GetDicom().DecodeFrame(frameIndex_)); |
1154 Orthanc::DicomImageDecoder::Decode(message.GetDicom(), frameIndex_)); | |
1155 | 1154 |
1156 if (frame.get() == NULL) | 1155 if (frame.get() == NULL) |
1157 { | 1156 { |
1158 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError); | 1157 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError); |
1159 } | 1158 } |