summaryrefslogtreecommitdiff
path: root/src/lib/openmj2/jp2.c
AgeCommit message (Collapse)Author
2018-10-31Fix some potential overflow issues (#1161)Stefan Weil
* Fix some potential overflow issues Put sizeof to the beginning of the multiplication to enforce that size_t instead of smaller integer types is used for the calculation. This fixes warnings from LGTM: Multiplication result may overflow 'unsigned int' before it is converted to 'unsigned long'. It also allows removing some type casts. Signed-off-by: Stefan Weil <sw@weilnetz.de> * Fix code indentation Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-05-09Reformat whole codebase with astyle.options (#128)Even Rouault
2014-04-03[trunk] updated copyright and added copyright notice required by ISO, in ↵Antonin Descampe
each file; updated AUTHORS, NEWS
2012-10-29[trunk] Fix simple warning about unused variablesMathieu Malaterre
2012-10-15[trunk] remove left-over from ->jpip_on implementation. JPIP is now ↵Mathieu Malaterre
completely removed from openjp2 and openmj2. Document jpip_iptr_offset variable
2012-10-09[trunk] Fix openmj2/mj2 compilationMathieu Malaterre
As reported on the mailing list, it is better to have a working (compiling) mj2 codec rather than nothing. mj2 uses it own copy of openjpeg 1.5 Update issue 177