Small correction + attempt to understand git-openjpeg workflow

This commit is contained in:
ak-dxdy 2015-07-30 21:49:16 +03:00 committed by mayeut
parent 4fc1073809
commit acbb297a0a
1 changed files with 1 additions and 1 deletions

View File

@ -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].dx);
int nloop = (w*h)/(raw_cp->rawComps[compno].dx*raw_cp->rawComps[compno].dy);
for (i = 0; i < nloop; i++) {
unsigned char temp1;
unsigned char temp2;