fd8f86a
diff --git a/Source/MediaStorageAndFileFormat/gdcmJPEGLSCodec.cxx b/Source/MediaStorageAndFileFormat/gdcmJPEGLSCodec.cxx
fd8f86a
index d51832f..4d38bef 100644
fd8f86a
--- a/Source/MediaStorageAndFileFormat/gdcmJPEGLSCodec.cxx
fd8f86a
+++ b/Source/MediaStorageAndFileFormat/gdcmJPEGLSCodec.cxx
fd8f86a
@@ -181,7 +181,7 @@ bool JPEGLSCodec::Decode(DataElement const &in, DataElement &out)
fd8f86a
     std::vector<BYTE> rgbyteOut;
fd8f86a
     rgbyteOut.resize(params.height *params.width * ((params.bitspersample + 7) / 8) * params.components);
fd8f86a
 
fd8f86a
-    JLS_ERROR result = JpegLsDecode(&rgbyteOut[0], rgbyteOut.size(), pbyteCompressed, cbyteCompressed);
fd8f86a
+    JLS_ERROR result = JpegLsDecode(&rgbyteOut[0], rgbyteOut.size(), pbyteCompressed, cbyteCompressed, &params);
fd8f86a
     ASSERT(result == OK);
fd8f86a
 
fd8f86a
     delete[] buffer;
fd8f86a
@@ -237,7 +237,7 @@ bool JPEGLSCodec::Decode(DataElement const &in, DataElement &out)
fd8f86a
     std::vector<BYTE> rgbyteOut;
fd8f86a
     rgbyteOut.resize(params.height *params.width * ((params.bitspersample + 7) / 8) * params.components);
fd8f86a
 
fd8f86a
-    JLS_ERROR result = JpegLsDecode(&rgbyteOut[0], rgbyteOut.size(), pbyteCompressed, cbyteCompressed);
fd8f86a
+    JLS_ERROR result = JpegLsDecode(&rgbyteOut[0], rgbyteOut.size(), pbyteCompressed, cbyteCompressed, &params);
fd8f86a
     ASSERT(result == OK);
fd8f86a
 bool r = true;
fd8f86a