opj_jp2_apply_pclr(): remove useless assert that can trigger on some files (fixes #1125)

This commit is contained in:
Even Rouault 2018-09-22 23:47:56 +02:00
parent aaf48ee6ba
commit 8fc09e50e5
No known key found for this signature in database
GPG Key ID: 33EBBFC47B3DD87D
1 changed files with 0 additions and 1 deletions

View File

@ -1106,7 +1106,6 @@ static OPJ_BOOL opj_jp2_apply_pclr(opj_image_t *image,
/* Direct use: */
if (cmap[i].mtyp == 0) {
assert(cmp == 0);
dst = new_comps[i].data;
assert(dst);
for (j = 0; j < max; ++j) {