Blind Windows compile fix
This commit is contained in:
@@ -92,7 +92,7 @@ int write_phixfaix( int coff, int compno, opj_codestream_info_t cstr_info, opj_b
|
|||||||
packet.end_ph_pos = packet.start_pos = -1;
|
packet.end_ph_pos = packet.start_pos = -1;
|
||||||
(void)EPHused; /* unused ? */
|
(void)EPHused; /* unused ? */
|
||||||
|
|
||||||
if( j2klen > pow( 2, 32)){
|
if( j2klen > pow( 2.0, 32)){
|
||||||
size_of_coding = 8;
|
size_of_coding = 8;
|
||||||
version = 1;
|
version = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ int write_ppixfaix( int coff, int compno, opj_codestream_info_t cstr_info, opj_b
|
|||||||
packet.end_pos = packet.end_ph_pos = packet.start_pos = -1;
|
packet.end_pos = packet.end_ph_pos = packet.start_pos = -1;
|
||||||
(void)EPHused; /* unused ? */
|
(void)EPHused; /* unused ? */
|
||||||
|
|
||||||
if( j2klen > pow( 2, 32)){
|
if( j2klen > pow( 2.0, 32)){
|
||||||
size_of_coding = 8;
|
size_of_coding = 8;
|
||||||
version = 1;
|
version = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ int write_tpixfaix( int coff, int compno, opj_codestream_info_t cstr_info, int j
|
|||||||
|
|
||||||
num_max_tile_parts = get_num_max_tile_parts( cstr_info);
|
num_max_tile_parts = get_num_max_tile_parts( cstr_info);
|
||||||
|
|
||||||
if( j2klen > pow( 2, 32)){
|
if( j2klen > pow( 2.0, 32)){
|
||||||
size_of_coding = 8;
|
size_of_coding = 8;
|
||||||
version = num_max_tile_parts == 1 ? 1:3;
|
version = num_max_tile_parts == 1 ? 1:3;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user