COMP: Fix declaration hides parameter len
This commit is contained in:
parent
6a4572a56f
commit
b883da435b
|
@ -268,7 +268,7 @@ static int t2_encode_packet(opj_tcd_tile_t * tile, opj_tcp_t * tcp, opj_pi_itera
|
||||||
if (!layer->numpasses) {
|
if (!layer->numpasses) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (c + layer->len > dest + len) {
|
if (c + layer->len > dest + length) {
|
||||||
return -999;
|
return -999;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue