diff Framework/Algorithms/TranscodeTileCommand.cpp @ 154:32a94bbb7d05

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 08 Oct 2018 12:12:39 +0200
parents a0f9a3df1110
children 6b8ccfc02051
line wrap: on
line diff
--- a/Framework/Algorithms/TranscodeTileCommand.cpp	Fri Jul 27 14:06:26 2018 +0200
+++ b/Framework/Algorithms/TranscodeTileCommand.cpp	Mon Oct 08 12:12:39 2018 +0200
@@ -73,7 +73,8 @@
         }
         else
         {
-          Orthanc::ImageAccessor tile = source_.GetDecodedTile(x, y);
+          Orthanc::ImageAccessor tile;
+          source_.GetDecodedTile(tile, x, y);
 
           // Re-encoding the file
           target_.EncodeTile(tile, level_, x, y);