Even Rouault
fe338a057c
Sub-tile decoding: only decode precincts and codeblocks that intersect the window specified in opj_set_decode_area()
2017-08-17 19:05:54 +02:00
Even Rouault
a4c938181d
Reformat tests/test_tile_encoder.c
2017-08-10 12:30:31 +02:00
Stefan Weil
8715ce2749
Fix some issues reported by Coverity Scan ( #846 )
...
* test_tile_decoder: Fix potential buffer overflow (coverity)
CID 1190155 (#1 of 1): Unbounded source buffer (STRING_SIZE)
Using a pointer instead of buffer of fixed size avoids the limit
for the length of the input file name.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
* test_tile_encoder: Fix potential buffer overflow (coverity)
CID 1190154 (#1 of 1): Unbounded source buffer (STRING_SIZE)
Using a pointer instead of buffer of fixed size avoids the limit
for the length of the output file name. This implies that the length
can exceed 255, so the data type for variable len had to be fixed, too.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
* openjpip: Initialize data before returning it
This fixes an error reported by Coverity:
CID 1190143 (#1 of 1): Uninitialized scalar variable (UNINIT)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-09-21 21:15:25 +02:00
julienmalik
319fc971fe
cppcheck fix for openjp2 ( #740 )
2016-04-29 23:49:17 +02:00
Antonin Descampe
7aece5e8e7
[trunk]Replaced deprecated opj_stream_set_user_data function from API
...
with its 'v3' version, and removed all other 'v3' suffixes from API.
2014-04-23 07:46:11 +00:00
Mathieu Malaterre
eea18e856e
[trunk] Remove warning about sign conversion.
...
Update issue 256
2014-03-06 15:05:00 +00:00
Mathieu Malaterre
7f277fea94
[trunk] Remove some simple warnings about cast, and unused functions
2014-02-26 14:00:21 +00:00
Mathieu Malaterre
c4317177f3
[trunk] Remove simple warnings about unused functions
2014-02-26 09:46:01 +00:00
Mickael Savinaud
af58e8e8f9
[trunk] move to the new API for function opj_stream_create_default_file_stream. Use now opj_stream_create_default_file_stream_v3 (WIP)
2013-02-17 10:34:31 +00:00
Mickael Savinaud
4bf4a7668e
[trunk] move to the new API for function opj_stream_destroy. Use now opj_stream_destroy_v3 (WIP)
2013-02-16 17:39:23 +00:00
Mickael Savinaud
e212154d8d
[trunk]extend last commits to apps
2012-11-15 13:38:35 +00:00
Mathieu Malaterre
98682e1073
[trunk] Remove some warnings about missing prototypes (gcc)
2012-10-15 15:47:56 +00:00
Mathieu Malaterre
4a845f3d04
[trunk] Fix one remaining issue with C90 compat
2012-09-10 12:46:42 +00:00
Mickael Savinaud
6767ea2456
[trunk] rename opj_setup_encoder_v2 to opj_setup_encoder
2012-08-09 12:35:13 +00:00
Mickael Savinaud
d009cf618a
rename opj_create_compress_v2 to opj_create_compress
2012-08-09 12:28:51 +00:00
Mathieu Malaterre
64363995be
[trunk] Fix a simple leak in test_tile_encoder
2012-05-29 14:27:42 +00:00
Mathieu Malaterre
426ad6e3a3
[trunk] Adding more tests. tte5.j2k looks as if the tile compression is broken
2012-05-29 14:25:23 +00:00
Mickael Savinaud
717a7dbfde
resolve bug under win arch with test_tile_encoder.c
2012-05-14 17:25:10 +00:00
Mathieu Malaterre
383495c863
[trunk] Start activating tile tests
2012-05-14 16:05:55 +00:00
Mickael Savinaud
80c23d4519
solve problem with input of image_to_j2k; using the right return type comparison for opj_stream_flush; add j2k_write_com_v2, j2k_write_poc_v2, j2k_write_eoc_v2 and j2k_write_tlm_v2
2012-05-13 22:13:58 +00:00
Mickael Savinaud
055d429ae1
[trunk] Enhance support of events like the v2 branch. Use right name of variables.
2012-05-02 07:01:13 +00:00
Mickael Savinaud
afe4e345d2
[trunk] add missing file needed to compile last commit
2012-03-26 06:48:45 +00:00