You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
1.2 KiB
23 lines
1.2 KiB
14 years ago
|
diff --git a/Source/MediaStorageAndFileFormat/gdcmJPEGLSCodec.cxx b/Source/MediaStorageAndFileFormat/gdcmJPEGLSCodec.cxx
|
||
|
index d51832f..4d38bef 100644
|
||
|
--- a/Source/MediaStorageAndFileFormat/gdcmJPEGLSCodec.cxx
|
||
|
+++ b/Source/MediaStorageAndFileFormat/gdcmJPEGLSCodec.cxx
|
||
|
@@ -181,7 +181,7 @@ bool JPEGLSCodec::Decode(DataElement const &in, DataElement &out)
|
||
|
std::vector<BYTE> rgbyteOut;
|
||
|
rgbyteOut.resize(params.height *params.width * ((params.bitspersample + 7) / 8) * params.components);
|
||
|
|
||
|
- JLS_ERROR result = JpegLsDecode(&rgbyteOut[0], rgbyteOut.size(), pbyteCompressed, cbyteCompressed);
|
||
|
+ JLS_ERROR result = JpegLsDecode(&rgbyteOut[0], rgbyteOut.size(), pbyteCompressed, cbyteCompressed, ¶ms);
|
||
|
ASSERT(result == OK);
|
||
|
|
||
|
delete[] buffer;
|
||
|
@@ -237,7 +237,7 @@ bool JPEGLSCodec::Decode(DataElement const &in, DataElement &out)
|
||
|
std::vector<BYTE> rgbyteOut;
|
||
|
rgbyteOut.resize(params.height *params.width * ((params.bitspersample + 7) / 8) * params.components);
|
||
|
|
||
|
- JLS_ERROR result = JpegLsDecode(&rgbyteOut[0], rgbyteOut.size(), pbyteCompressed, cbyteCompressed);
|
||
|
+ JLS_ERROR result = JpegLsDecode(&rgbyteOut[0], rgbyteOut.size(), pbyteCompressed, cbyteCompressed, ¶ms);
|
||
|
ASSERT(result == OK);
|
||
|
bool r = true;
|
||
|
|