diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-04-18 18:25:44 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-04-18 18:25:44 +0200 |
| commit | 64689d05dfaaf52105581d93fb1eb173b20829a4 (patch) | |
| tree | af9686a48d75cc19f02aaec33826138394a9602e /src/lib/openjp2/jp2.c | |
| parent | 774889a328abd5d3c280d9a897f1ac4c672cb0e5 (diff) | |
struct opj_j2k: remove unused fields, and add some documentation
Diffstat (limited to 'src/lib/openjp2/jp2.c')
| -rw-r--r-- | src/lib/openjp2/jp2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/openjp2/jp2.c b/src/lib/openjp2/jp2.c index 4402ffe3..a2363666 100644 --- 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; } |
