Skip to content

Commit b7cf392

Browse files
committed
JP2KAK: remove apparently useless assertion about YCC that caused test_jp2kak_lossless_multiband[NO] to crash in debug mode
1 parent 4786d20 commit b7cf392

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

frmts/jp2kak/jp2kakdataset.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -1685,8 +1685,6 @@ static bool JP2KAKCreateCopy_WriteTile(
16851685

16861686
void *pabyBuffer = CPLMalloc(nXSize * GDALGetDataTypeSizeBytes(eType));
16871687

1688-
CPLAssert(!oTile.get_ycc());
1689-
16901688
bool bRet = true;
16911689
while (true)
16921690
{

0 commit comments

Comments
 (0)