mirror of
https://github.com/opencv/opencv.git
synced 2025-06-23 04:01:31 +08:00
Merge pull request #23067 from sashashura:patch-3
This commit is contained in:
commit
6dfa647f05
2
3rdparty/openjpeg/openjp2/jp2.c
vendored
2
3rdparty/openjpeg/openjp2/jp2.c
vendored
@ -1108,7 +1108,7 @@ static OPJ_BOOL opj_jp2_apply_pclr(opj_image_t *image,
|
||||
pcol = cmap[i].pcol;
|
||||
src = old_comps[cmp].data;
|
||||
assert(src); /* verified above */
|
||||
max = new_comps[pcol].w * new_comps[pcol].h;
|
||||
max = new_comps[i].w * new_comps[i].h;
|
||||
|
||||
/* Direct use: */
|
||||
if (cmap[i].mtyp == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user