<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openjpeg/src/lib/openjp2/opj_malloc.c, branch codingstyle</title>
<subtitle>Fork of openjpeg library for JPEG2000 encoding and decoding</subtitle>
<id>https://git.carlh.net/cgit/openjpeg/atom?h=codingstyle</id>
<link rel='self' href='https://git.carlh.net/cgit/openjpeg/atom?h=codingstyle'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/'/>
<updated>2016-01-25T22:22:06Z</updated>
<entry>
<title>processed all c/h files through astyle with opj_astyle.cfg</title>
<updated>2016-01-25T22:22:06Z</updated>
<author>
<name>Antonin Descampe</name>
<email>antonin@gmail.com</email>
</author>
<published>2016-01-25T22:22:06Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=0febbff19e05cb1a6c2613eee76ad46a669c96cd'/>
<id>urn:sha1:0febbff19e05cb1a6c2613eee76ad46a669c96cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix fatal crash on 64 bit Linux</title>
<updated>2016-01-06T20:40:09Z</updated>
<author>
<name>Stefan Weil</name>
<email>sw@weilnetz.de</email>
</author>
<published>2016-01-06T20:34:59Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=9cad6bc1f68be54189c6db8a7fcef6f994daf891'/>
<id>urn:sha1:9cad6bc1f68be54189c6db8a7fcef6f994daf891</id>
<content type='text'>
By default, OpenJPEG uses the function memalign to allocate aligned
memory on Linux systems. That function needs malloc.h which was
missing. This results in a compiler warning:

openjpeg/src/lib/openjp2/opj_malloc.c:63:3: warning:
 implicit declaration of function ‘memalign’
 [-Wimplicit-function-declaration]

On hosts where sizeof(int) &lt; sizeof(void *) the return value of memalign
will be truncated which results in an invalid pointer.

That caused "make test" to produce lots of segmentation faults when
running on a 64 bit Linux host.

Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
</content>
</entry>
<entry>
<title>Fix whitespace issues in opj_malloc.c</title>
<updated>2016-01-06T20:40:01Z</updated>
<author>
<name>Stefan Weil</name>
<email>sw@weilnetz.de</email>
</author>
<published>2016-01-06T20:34:59Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=79b1c4cc85e5d1709cdb831561ba4927ea673514'/>
<id>urn:sha1:79b1c4cc85e5d1709cdb831561ba4927ea673514</id>
<content type='text'>
Some lines ended with spaces. Remove them.

Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
</content>
</entry>
<entry>
<title>Fix grammar in comment</title>
<updated>2015-12-31T09:13:26Z</updated>
<author>
<name>Stefan Weil</name>
<email>sw@weilnetz.de</email>
</author>
<published>2015-11-03T18:16:01Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=a834ab305ffb1af465f94f0781743eaf4c13d01c'/>
<id>urn:sha1:a834ab305ffb1af465f94f0781743eaf4c13d01c</id>
<content type='text'>
Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
</content>
</entry>
<entry>
<title>Fin compiler warnings</title>
<updated>2015-11-01T16:08:47Z</updated>
<author>
<name>mayeut</name>
<email>mayeut@users.noreply.github.com</email>
</author>
<published>2015-11-01T16:08:47Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=38ffbbe42ee36cf2ab402977cfd5dda471355052'/>
<id>urn:sha1:38ffbbe42ee36cf2ab402977cfd5dda471355052</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid pointer arithmetic with (void *) pointers.</title>
<updated>2015-10-21T07:01:31Z</updated>
<author>
<name>Stephan Mühlstrasser</name>
<email>stm@pdflib.com</email>
</author>
<published>2015-10-21T07:01:31Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=b7a162348de2f1444377e2dca9f3cbf9d770b52d'/>
<id>urn:sha1:b7a162348de2f1444377e2dca9f3cbf9d770b52d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Generic aligned malloc implementation update.</title>
<updated>2015-10-20T22:09:04Z</updated>
<author>
<name>mayeut</name>
<email>mayeut@users.noreply.github.com</email>
</author>
<published>2015-10-20T22:09:04Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=d48be27f5aa018d398cf9369b2c664bee4ce6e19'/>
<id>urn:sha1:d48be27f5aa018d398cf9369b2c664bee4ce6e19</id>
<content type='text'>
Update #642
</content>
</entry>
<entry>
<title>Generic aligned malloc implementation.</title>
<updated>2015-10-20T19:34:54Z</updated>
<author>
<name>Stephan Mühlstrasser</name>
<email>stm@pdflib.com</email>
</author>
<published>2015-10-20T11:02:51Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=eaf55b677c53d76a11d2b860034337afdf8d8817'/>
<id>urn:sha1:eaf55b677c53d76a11d2b860034337afdf8d8817</id>
<content type='text'>
Used for platforms where none of posix_memalign(), memalign() and
_aligned_malloc() is available.
</content>
</entry>
<entry>
<title>Cleanup includes</title>
<updated>2015-10-18T00:52:33Z</updated>
<author>
<name>mayeut</name>
<email>mayeut@users.noreply.github.com</email>
</author>
<published>2015-10-18T00:52:33Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=e1122a8f5081712147a5b36a7b0c9dd81f11c98d'/>
<id>urn:sha1:e1122a8f5081712147a5b36a7b0c9dd81f11c98d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix _aligned_malloc usage</title>
<updated>2015-10-18T00:23:01Z</updated>
<author>
<name>mayeut</name>
<email>mayeut@users.noreply.github.com</email>
</author>
<published>2015-10-18T00:23:01Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=f9d47e28b92f0e1ee3182a3a7375b886f3fad2fd'/>
<id>urn:sha1:f9d47e28b92f0e1ee3182a3a7375b886f3fad2fd</id>
<content type='text'>
</content>
</entry>
</feed>
