projects
/
openjpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
struct opj_j2k: remove unused fields, and add some documentation
[openjpeg.git]
/
src
/
lib
/
openjp2
/
jp2.c
diff --git
a/src/lib/openjp2/jp2.c
b/src/lib/openjp2/jp2.c
index 4402ffe3c51ee347d3a0ef04a54dc89846859fd8..a2363666c90ca70660616abef50a764360db21c9 100644
(file)
--- a/
src/lib/openjp2/jp2.c
+++ b/
src/lib/openjp2/jp2.c
@@
-1584,9
+1584,7
@@
static OPJ_BOOL opj_jp2_read_colr(opj_jp2_t *jp2,
"COLR BOX meth value is not a regular value (%d), "
"so we will ignore the entire Colour Specification box. \n", jp2->meth);
}
- if (jp2->color.jp2_has_colr) {
- jp2->j2k->enumcs = jp2->enumcs;
- }
+
return OPJ_TRUE;
}