comparison OrthancServer/ServerJobs/ResourceModificationJob.cpp @ 3938:54dbebbcc032 transcoding

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 18 May 2020 15:59:50 +0200
parents 023b2a9f3aa1
children 5b882ad2ffd0
comparison
equal deleted inserted replaced
3937:41eec97c23ef 3938:54dbebbcc032
216 { 216 {
217 throw OrthancException(ErrorCode_CannotStoreInstance, 217 throw OrthancException(ErrorCode_CannotStoreInstance,
218 "Error while storing a modified instance " + instance); 218 "Error while storing a modified instance " + instance);
219 } 219 }
220 220
221 assert(modifiedInstance == modifiedHasher.HashInstance()); 221 /**
222 * The assertion below will fail if automated transcoding to a
223 * lossy transfer syntax is enabled in the Orthanc core, and if
224 * the source instance is not in this transfer syntax.
225 **/
226 // assert(modifiedInstance == modifiedHasher.HashInstance());
222 227
223 output_->Update(modifiedHasher); 228 output_->Update(modifiedHasher);
224 229
225 return true; 230 return true;
226 } 231 }