[sldev] OpenJPEG 1.3?

Callum Lerwick seg at haxxed.com
Fri Feb 1 14:59:25 PST 2008


On Fri, 2008-02-01 at 10:51 +0000, Tofu Linden wrote:
> Hi folks,
> Is OpenJPEG 1.3 considered good?  I noticed that there are a few
> crash-fixes in OpenJPEG svn since 1.3 was released, so I'm mildly
> inclined to wait for 1.3.1 before upgrading the version we
> use with SL.

Try it.

There was a crash in a codepath that SL never hits, (multiple tile
encoding) which is why I didn't notice it.

Also, a bogus patch got merged just before release. It breaks compiling
on OSX in particular. I suggest reverting it. Here's my patch:

--- OpenJPEG_v1_3/libopenjpeg/opj_malloc.h      2007-12-21 04:19:01.000000000 -0600
+++ trunk/libopenjpeg/opj_malloc.h      2007-10-18 07:26:11.000000000 -0500
@@ -75,9 +75,6 @@
 #else /* Not WIN32 */
        #if defined(__sun)
                        #define HAVE_MEMALIGN
-               #elif defined(__GNUC__)
-                       #define HAVE_MEMALIGN
-                       #include <malloc.h>
                /* Linux x86_64 and OSX always align allocations to 16 bytes */
                #elif !defined(__amd64__) && !defined(__APPLE__)
                        /* FIXME: Yes, this is a big assumption */

Other than the OSX breakage, it should be fine for SL.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20080201/fba45f5a/attachment.pgp


More information about the SLDev mailing list