summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-25processed all c/h files through astyle with opj_astyle.cfgcodingstyleAntonin Descampe
2016-01-25Merge branch 'master' into codingstyleAntonin Descampe
2016-01-25fixed tile numberingAntonin Descampe
Fixes #245
2016-01-25modified astyle configAntonin Descampe
2016-01-24modified style cfgAntonin Descampe
2016-01-24adding astyle and uncrustify config filesAntonin Descampe
2016-01-23Merge pull request #648 from stweil/allocAntonin Descampe
Fix support of posix_memalloc for Linux
2016-01-11Update known failuresmayeut
2016-01-11Merge pull request #551 from mayeut/coc-qccMatthieu Darbois
Add COC/QCC in main header when needed
2016-01-09Merge pull request #690 from rouault/failed_malloc_opj_dwt_encode_procedureMathieu Malaterre
[git/2.1 regression] Fix opj_write_tile() failure when numresolutions=1
2016-01-09Add comment explaining bj is not use when l_data_size == 0Even Rouault
2016-01-08[git/2.1 regression] Fix opj_write_tile() failure when numresolutions=1Even Rouault
When trying the GDAL OpenJPEG driver against openjpeg current master HEAD, I get failures when trying to create .jp2 files. The driver uses opj_write_tile() and in some tests numresolutions = 1. In openjp2/dwt.c:410, l_data_size = opj_dwt_max_resolution( tilec->resolutions,tilec->numresolutions) * (OPJ_UINT32)sizeof(OPJ_INT32); is called and returns l_data_size = 0. Now in git opj_malloc() has a special case for 0 to return a NULL pointer whereas previously it relied on system malloc(), which in my case didn't return NULL. So only test the pointer value if l_data_size != 0. This makes the GDAL autotest suite to pass again.
2016-01-06Merge pull request #687 from stweil/memalignMatthieu Darbois
Fix fatal crash on 64 bit Linux
2016-01-06Fix fatal crash on 64 bit LinuxStefan Weil
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) < 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 <sw@weilnetz.de>
2016-01-06Fix whitespace issues in opj_malloc.cStefan Weil
Some lines ended with spaces. Remove them. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-01-06Fix support of posix_memalign for LinuxStefan Weil
posix_memalign is only declared conditionally in stdlib.h, so add one of the possible definitions to get the declaration. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-01-06Merge pull request #686 from mayeut/masterMatthieu Darbois
[libtiff] Add missing include statement for ssize_t Close #681
2016-01-06Add missing include statement for ssize_tmayeut
Update uclouvain/openjpeg#681
2016-01-06Merge remote-tracking branch 'uclouvain/master'mayeut
2016-01-06Merge pull request #684 from stweil/typoMatthieu Darbois
Fix duplicate article in comments
2016-01-06Fix duplicate article in commentsStefan Weil
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-01-03Merge remote-tracking branch 'uclouvain/master'mayeut
2015-12-31Merge pull request #679 from stweil/grammarMatthieu Darbois
Fix grammar in comment
2015-12-31Fix grammar in commentStefan Weil
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-12-23Merge pull request #665 from jwilk/spellingMatthieu Darbois
Fix typos
2015-11-27Fix typosJakub Wilk
2015-11-07Add known failuresmayeut
2 more tests failing under AppVayor since nov-6 update Update #655
2015-11-07Merge pull request #654 from mayeut/masterMatthieu Darbois
Fix undefined size jp2 box handling
2015-11-07Revert "Check for appveyor update"mayeut
This reverts commit c414d9c238f404980e6e8b17db652a7fb2635cdf.
2015-11-07Check for appveyor updatemayeut
2015-11-07Fix missing bracketmayeut
2015-11-07fix appveyor buildmayeut
2015-11-07Fix undefined size jp2 box handlingmayeut
Update #653
2015-11-02Fix Travis cmake installmayeut
2015-11-02Update cmake for travis ASan buildmayeut
2015-11-02Merge pull request #651 from stweil/fixMatthieu Darbois
opj_decompress: Update error message
2015-11-01opj_decompress: Update error messageStefan Weil
The png format is also supported, so add it to the message. Remove also the unneeded blank character before \n. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-11-01Fin compiler warningsmayeut
2015-11-01Fix compiler warningsmayeut
2015-11-01convert: Fix compiler warningsStefan Weil
Fix this and other similar compiler warnings: src/bin/jp2/convert.c: In function ‘tga_readheader’: src/bin/jp2/convert.c:595:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] cmap_len = get_ushort(*(unsigned short*)(&tga[5])); Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-11-01convert: Remove unneeded type castsStefan Weil
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-10-30Merge pull request #647 from stweil/masterMatthieu Darbois
Fix typo in comments
2015-10-29Fix typo in commentsStefan Weil
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-10-21Merge pull request #638 from stweil/masterMatthieu Darbois
Fix format strings and unneeded assignment
2015-10-21Merge branch 'master' into coc-qccmayeut
2015-10-21Merge pull request #644 from smuehlst/opj_aligned_mallocMatthieu Darbois
Avoid pointer arithmetic with (void *) pointers
2015-10-21Avoid pointer arithmetic with (void *) pointers.Stephan Mühlstrasser
2015-10-21Merge branch 'master' into opj_aligned_mallocStephan Mühlstrasser
Conflicts: src/lib/openjp2/opj_malloc.c
2015-10-21Generic aligned malloc implementation update.mayeut
Update #642
2015-10-20Generic aligned malloc implementation.Stephan Mühlstrasser
Used for platforms where none of posix_memalign(), memalign() and _aligned_malloc() is available.