projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaf48ee
)
opj_jp2_apply_pclr(): remove useless assert that can trigger on some files (fixes...
author
Even Rouault
<even.rouault@spatialys.com>
Sat, 22 Sep 2018 21:47:56 +0000
(23:47 +0200)
committer
Even Rouault
<even.rouault@spatialys.com>
Sat, 22 Sep 2018 21:47:56 +0000
(23:47 +0200)
src/lib/openjp2/jp2.c
patch
|
blob
|
history
diff --git
a/src/lib/openjp2/jp2.c
b/src/lib/openjp2/jp2.c
index f15f45ae7718dea4e20855e60bf86b6406a1b9c2..180a416b7efd4d7e56a5c5c821eb6f9081913792 100644
(file)
--- a/
src/lib/openjp2/jp2.c
+++ b/
src/lib/openjp2/jp2.c
@@
-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) {