projects
/
openjpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix implicit float-to-bool conversions (#752)
[openjpeg.git]
/
src
/
bin
/
jp2
/
index.c
diff --git
a/src/bin/jp2/index.c
b/src/bin/jp2/index.c
index af6e138102b3ab2d7bd79fce24e8dcab1896150f..478f556a0a8a898ebaf90995d6a58353931fd06a 100644
(file)
--- a/
src/bin/jp2/index.c
+++ b/
src/bin/jp2/index.c
@@
-69,7
+69,7
@@
int write_index_file(opj_codestream_info_t *cstr_info, char *index) {
return 1;
}
- if (cstr_info->tile[0].distotile)
+ if (cstr_info->tile[0].distotile
> 0.0
)
disto_on = 1;
else
disto_on = 0;