COMP: Fix declaration hides parameter len

This commit is contained in:
Mathieu Malaterre 2006-02-18 12:52:52 +00:00
parent 6a4572a56f
commit b883da435b
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ static int t2_encode_packet(opj_tcd_tile_t * tile, opj_tcp_t * tcp, opj_pi_itera
if (!layer->numpasses) {
continue;
}
if (c + layer->len > dest + len) {
if (c + layer->len > dest + length) {
return -999;
}