projects
/
openjpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
opj-v1-branch created
[openjpeg.git]
/
libopenjpeg
/
dwt.c
diff --git
a/libopenjpeg/dwt.c
b/libopenjpeg/dwt.c
index a8d579fa97a5a65a32fcf5698dc4de3a64d6dfff..3436b103123399b583249edb35809f52a1b7b9b9 100644
(file)
--- a/
libopenjpeg/dwt.c
+++ b/
libopenjpeg/dwt.c
@@
-570,7
+570,7
@@
static void v4dwt_interleave_h(v4dwt_t* restrict w, float* restrict a, int x, in
int count = w->sn;
int i, k;
for(k = 0; k < 2; ++k){
int count = w->sn;
int i, k;
for(k = 0; k < 2; ++k){
- if (count + 3 * x < size && ((
int) a & 0x0f) == 0 && ((in
t) bi & 0x0f) == 0 && (x & 0x0f) == 0) {
+ if (count + 3 * x < size && ((
size_t) a & 0x0f) == 0 && ((size_
t) bi & 0x0f) == 0 && (x & 0x0f) == 0) {
/* Fast code path */
for(i = 0; i < count; ++i){
int j = i;
/* Fast code path */
for(i = 0; i < count; ++i){
int j = i;