projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c59f464
)
Fix up-scaling bit depth
author
mayeut
<mayeut@users.noreply.github.com>
Tue, 29 Sep 2015 07:28:34 +0000
(09:28 +0200)
committer
mayeut
<mayeut@users.noreply.github.com>
Tue, 29 Sep 2015 07:28:34 +0000
(09:28 +0200)
Fixes #609
src/bin/jp2/convert.c
patch
|
blob
|
history
diff --git
a/src/bin/jp2/convert.c
b/src/bin/jp2/convert.c
index 1a18711caf0096fde67b054438dc9b85091ccde9..73ec9f6e68a823b370da954cc5bcc7a1ee3d5110 100644
(file)
--- a/
src/bin/jp2/convert.c
+++ b/
src/bin/jp2/convert.c
@@
-114,6
+114,7
@@
static void scale_component_up(opj_image_comp_t* component, OPJ_UINT32 precision
}
}
component->prec = precision;
+ component->bpp = precision;
}
void scale_component(opj_image_comp_t* component, OPJ_UINT32 precision)
{