X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=otherlibs%2F_graphics%2Fsrc%2Flibjasper%2Fjp2_enc.c;h=6eca6aec01f19ead52b22e9561877de76be03010;hb=80cd7b93506cc1926882d5fd08a2c74ee9359e29;hp=d9aceddd51150b229be627b60976bcdcd8bf48fe;hpb=467a270adf12425827305759c0c4ea8f5b2b3854;p=opencv diff --git a/otherlibs/_graphics/src/libjasper/jp2_enc.c b/otherlibs/_graphics/src/libjasper/jp2_enc.c index d9acedd..6eca6ae 100644 --- a/otherlibs/_graphics/src/libjasper/jp2_enc.c +++ b/otherlibs/_graphics/src/libjasper/jp2_enc.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 @@ /* * JP2 Library * - * $Id: jp2_enc.c,v 1.1 2007/01/15 16:09:24 vp153 Exp $ + * $Id: jp2_enc.c,v 1.2 2008/05/26 09:40:52 vp153 Exp $ */ /******************************************************************************\ @@ -312,7 +312,7 @@ int sgnd; if (!(box = jp2_box_create(JP2_BOX_JP2H))) { goto error; } - box->len = len + JP2_BOX_HDRLEN; + box->len = len + JP2_BOX_HDRLEN(false); if (jp2_box_put(box, out)) { goto error; }