Remove warnings seen on the dashboard
This commit is contained in:
parent
dc9a8b03aa
commit
548a49bb7f
3
CHANGES
3
CHANGES
|
@ -5,6 +5,9 @@ What's New for OpenJPEG
|
|||
! : changed
|
||||
+ : added
|
||||
|
||||
December 8, 2011
|
||||
* [Mathieu Malaterre] Remove 6 warnings (gcc)
|
||||
|
||||
December 7, 2011
|
||||
- [mickael] deactivate tests about class0 files with number of components greater to 1
|
||||
|
||||
|
|
|
@ -1155,6 +1155,7 @@ void jp2_setup_encoder(opj_jp2_t *jp2, opj_cparameters_t *parameters, opj_image_
|
|||
opj_bool opj_jp2_encode(opj_jp2_t *jp2, opj_cio_t *cio, opj_image_t *image, opj_codestream_info_t *cstr_info) {
|
||||
|
||||
int pos_iptr, pos_cidx, pos_jp2c, len_jp2c, len_cidx, end_pos, pos_fidx, len_fidx;
|
||||
pos_jp2c = pos_iptr = -1; /* remove a warning */
|
||||
|
||||
/* JP2 encoding */
|
||||
|
||||
|
|
|
@ -89,6 +89,7 @@ int write_phixfaix( int coff, int compno, opj_codestream_info_t cstr_info, opj_b
|
|||
opj_packet_info_t packet;
|
||||
int resno, precno, layno, num_packet;
|
||||
int numOfres, numOfprec, numOflayers;
|
||||
packet.end_ph_pos = packet.start_pos = -1;
|
||||
|
||||
if( j2klen > pow( 2, 32)){
|
||||
size_of_coding = 8;
|
||||
|
|
|
@ -92,6 +92,7 @@ int write_ppixfaix( int coff, int compno, opj_codestream_info_t cstr_info, opj_b
|
|||
opj_packet_info_t packet;
|
||||
int resno, precno, layno, num_packet;
|
||||
int numOfres, numOfprec, numOflayers;
|
||||
packet.end_ph_pos = packet.start_pos = -1;
|
||||
|
||||
if( j2klen > pow( 2, 32)){
|
||||
size_of_coding = 8;
|
||||
|
|
Loading…
Reference in New Issue