diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-09-22 23:47:56 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-09-22 23:47:56 +0200 |
| commit | 8fc09e50e557fa6af4c099b9c6d36bb1071ee1ed (patch) | |
| tree | b3d627addbc12a4652ee75c53238fd98bb58a5b9 /src/lib | |
| parent | aaf48ee6bae91032f025f9ac11592c4085a0d96b (diff) | |
opj_jp2_apply_pclr(): remove useless assert that can trigger on some files (fixes #1125)
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/openjp2/jp2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/openjp2/jp2.c b/src/lib/openjp2/jp2.c index f15f45ae..180a416b 100644 --- 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) { |
