X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=otherlibs%2F_graphics%2Fsrc%2Flibjasper%2Fjas_image.c;fp=otherlibs%2F_graphics%2Fsrc%2Flibjasper%2Fjas_image.c;h=0df380292861ded31c620e9855bdd5c510cdfd74;hb=80cd7b93506cc1926882d5fd08a2c74ee9359e29;hp=66ede3a1a1887de48ed8059897063d57d74ac6bb;hpb=467a270adf12425827305759c0c4ea8f5b2b3854;p=opencv diff --git a/otherlibs/_graphics/src/libjasper/jas_image.c b/otherlibs/_graphics/src/libjasper/jas_image.c index 66ede3a..0df3802 100644 --- a/otherlibs/_graphics/src/libjasper/jas_image.c +++ b/otherlibs/_graphics/src/libjasper/jas_image.c @@ -9,9 +9,9 @@ * * JasPer License Version 2.0 * + * Copyright (c) 2001-2006 Michael David Adams * Copyright (c) 1999-2000 Image Power, Inc. * Copyright (c) 1999-2000 The University of British Columbia - * Copyright (c) 2001-2003 Michael David Adams * * All rights reserved. * @@ -64,7 +64,7 @@ /* * Image Library * - * $Id: jas_image.c,v 1.1 2007/01/15 16:09:24 vp153 Exp $ + * $Id: jas_image.c,v 1.2 2008/05/26 09:40:52 vp153 Exp $ */ /******************************************************************************\ @@ -306,6 +306,7 @@ static jas_image_cmpt_t *jas_image_cmpt_create(uint_fast32_t tlx, uint_fast32_t return 0; } + cmpt->type_ = JAS_IMAGE_CT_UNKNOWN; cmpt->tlx_ = tlx; cmpt->tly_ = tly; cmpt->hstep_ = hstep; @@ -1298,7 +1299,7 @@ jas_image_t *jas_image_chclrspc(jas_image_t *image, jas_cmprof_t *outprof, jas_cmcmptfmt_t *outcmptfmts; #if 0 -fprintf(stderr, "IMAGE\n"); +jas_eprintf("IMAGE\n"); jas_image_dump(image, stderr); #endif @@ -1433,9 +1434,9 @@ jas_image_dump(image, stderr); jas_image_destroy(inimage); #if 0 -fprintf(stderr, "INIMAGE\n"); +jas_eprintf("INIMAGE\n"); jas_image_dump(inimage, stderr); -fprintf(stderr, "OUTIMAGE\n"); +jas_eprintf("OUTIMAGE\n"); jas_image_dump(outimage, stderr); #endif return outimage;