diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-02-18 12:52:52 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-02-18 12:52:52 +0000 |
| commit | b883da435b67e4d173e9165a13cf2ead81e4a51f (patch) | |
| tree | 7a61401e4f1029b703f1128b14a2045a63c05372 /libopenjpeg/t2.c | |
| parent | 6a4572a56fe69583c68b8330c527ac346e2402fc (diff) | |
COMP: Fix declaration hides parameter len
Diffstat (limited to 'libopenjpeg/t2.c')
| -rw-r--r-- | libopenjpeg/t2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopenjpeg/t2.c b/libopenjpeg/t2.c index d9336ee1..dea2bb9e 100644 --- a/libopenjpeg/t2.c +++ b/libopenjpeg/t2.c @@ -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; } |
