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