We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d46e3e4 + 5fd4320 commit 2921aa1Copy full SHA for 2921aa1
Utilities/gdcmcharls/jpegmarkersegment.cpp
@@ -58,7 +58,7 @@ unique_ptr<JpegMarkerSegment> JpegMarkerSegment::CreateJpegFileInterchangeFormat
58
content.push_back(static_cast<uint8_t>(params.Ythumbnail));
59
if (params.Xthumbnail > 0)
60
{
61
- if (params.thumbnail)
+ if (!params.thumbnail)
62
throw CreateSystemError(ApiResult::InvalidJlsParameters, "params.Xthumbnail is > 0 but params.thumbnail == null_ptr");
63
64
content.insert(content.end(), static_cast<uint8_t*>(params.thumbnail),
0 commit comments