changeset 6:1094f3d5509c

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 19 May 2020 21:08:29 +0200
parents 8ccaccc1f9fe
children 34c6eb7e5695
files Plugin/Plugin.cpp
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/Plugin/Plugin.cpp	Tue May 19 17:33:50 2020 +0200
+++ b/Plugin/Plugin.cpp	Tue May 19 21:08:29 2020 +0200
@@ -241,7 +241,6 @@
 
 OrthancPluginErrorCode TranscoderCallback(
   OrthancPluginMemoryBuffer* transcoded /* out */,
-  uint8_t*                   hasSopInstanceUidChanged /* out */,
   const void*                buffer,
   uint64_t                   size,
   const char* const*         allowedSyntaxes,
@@ -294,7 +293,6 @@
           *transcoded = orthancBuffer.Release();
         }
         
-        *hasSopInstanceUidChanged = 0;
         return OrthancPluginErrorCode_Success;
       }
     }
@@ -333,11 +331,6 @@
             gdcm::Keywords::SOPInstanceUID sopInstanceUid;
             sopInstanceUid.SetValue(uid);
             reader.GetFile().GetDataSet().Replace(sopInstanceUid.GetAsDataElement());
-            *hasSopInstanceUidChanged = 1;
-          }
-          else
-          {
-            *hasSopInstanceUidChanged = 0;
           }
       
           // GDCM was able to change the transfer syntax, serialize it