Mercurial > hg > orthanc
comparison OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp @ 3951:5fe8c6d3212e transcoding
removed useless information "hasSopInstanceUidChanged"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 19 May 2020 21:06:53 +0200 |
parents | 0b3256c3ee14 |
children |
comparison
equal
deleted
inserted
replaced
3950:5797ca4f3b8d | 3951:5fe8c6d3212e |
---|---|
132 { | 132 { |
133 IDicomTranscoder::DicomImage source; | 133 IDicomTranscoder::DicomImage source; |
134 source.AcquireParsed(*modified); // "modified" is invalid below this point | 134 source.AcquireParsed(*modified); // "modified" is invalid below this point |
135 | 135 |
136 IDicomTranscoder::DicomImage transcoded; | 136 IDicomTranscoder::DicomImage transcoded; |
137 bool hasSopInstanceUidChanged; | |
138 | 137 |
139 std::set<DicomTransferSyntax> s; | 138 std::set<DicomTransferSyntax> s; |
140 s.insert(targetSyntax); | 139 s.insert(targetSyntax); |
141 | 140 |
142 if (context.Transcode(transcoded, hasSopInstanceUidChanged, source, s, true)) | 141 if (context.Transcode(transcoded, source, s, true)) |
143 { | 142 { |
144 call.GetOutput().AnswerBuffer(transcoded.GetBufferData(), | 143 call.GetOutput().AnswerBuffer(transcoded.GetBufferData(), |
145 transcoded.GetBufferSize(), MimeType_Dicom); | 144 transcoded.GetBufferSize(), MimeType_Dicom); |
146 } | 145 } |
147 else | 146 else |