Fix up-scaling bit depth

Fixes #609
This commit is contained in:
mayeut 2015-09-29 09:28:34 +02:00
parent c59f464a3f
commit cf352af089
1 changed files with 1 additions and 0 deletions

View File

@ -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)
{