projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fc1073
)
Small correction + attempt to understand git-openjpeg workflow
author
ak-dxdy
<Alexey.K@dxdy.ru>
Thu, 30 Jul 2015 18:49:16 +0000
(21:49 +0300)
committer
mayeut
<mayeut@users.noreply.github.com>
Thu, 30 Jul 2015 22:51:31 +0000
(
00:51
+0200)
src/bin/jp2/convert.c
patch
|
blob
|
history
diff --git
a/src/bin/jp2/convert.c
b/src/bin/jp2/convert.c
index 8e448d7e21d9ac455dc3fd1eef51b6bf0b0f22d3..a894a369b9c75721a4437dd5621be9e99d3cb185 100644
(file)
--- a/
src/bin/jp2/convert.c
+++ b/
src/bin/jp2/convert.c
@@
-2049,7
+2049,7
@@
static opj_image_t* rawtoimage_common(const char *filename, opj_cparameters_t *p
{
unsigned short value;
for(compno = 0; compno < numcomps; compno++) {
- int nloop = (w*h)/(raw_cp->rawComps[compno].dx*raw_cp->rawComps[compno].d
x
);
+ int nloop = (w*h)/(raw_cp->rawComps[compno].dx*raw_cp->rawComps[compno].d
y
);
for (i = 0; i < nloop; i++) {
unsigned char temp1;
unsigned char temp2;