diff OrthancServer/Sources/OrthancConfiguration.cpp @ 5742:078b724dcbf8

if frame decoding fails, transcode to LittleEndianExplicit using plugins and decode with built-in decoder
author Alain Mazy <am@orthanc.team>
date Thu, 29 Aug 2024 12:33:41 +0200
parents b1a18218860c
children 42ef98bb3c13
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancConfiguration.cpp	Tue Aug 27 15:14:22 2024 +0200
+++ b/OrthancServer/Sources/OrthancConfiguration.cpp	Thu Aug 29 12:33:41 2024 +0200
@@ -1157,6 +1157,10 @@
         {
           warning = Warnings_002_InconsistentDicomTagsInDb;
         }
+        else if (name == "W003_DecoderFailure")
+        {
+          warning = Warnings_003_DecoderFailure;
+        }
         else
         {
           throw OrthancException(ErrorCode_BadFileFormat, name + " is not recognized as a valid warning name");