projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a4572a
)
COMP: Fix declaration hides parameter len
author
Mathieu Malaterre
<mathieu.malaterre@gmail.com>
Sat, 18 Feb 2006 12:52:52 +0000
(12:52 +0000)
committer
Mathieu Malaterre
<mathieu.malaterre@gmail.com>
Sat, 18 Feb 2006 12:52:52 +0000
(12:52 +0000)
libopenjpeg/t2.c
patch
|
blob
|
history
diff --git
a/libopenjpeg/t2.c
b/libopenjpeg/t2.c
index d9336ee14054d9e2adf5459340a3b8a96e839b95..dea2bb9e3200558c28add4051b2479c7bfcbd184 100644
(file)
--- 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 + len
gth
) {
return -999;
}