projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
113e097
)
Add assertion
author
Even Rouault
<even.rouault@spatialys.com>
Thu, 21 Sep 2017 12:37:01 +0000
(14:37 +0200)
committer
Even Rouault
<even.rouault@spatialys.com>
Thu, 21 Sep 2017 12:37:01 +0000
(14:37 +0200)
src/lib/openjp2/j2k.c
patch
|
blob
|
history
diff --git
a/src/lib/openjp2/j2k.c
b/src/lib/openjp2/j2k.c
index e47abdbd51644419ce39b10ff6cbf4924be5a7ba..75d4f0cecff9e7c5151bbcd194934beb3af43c28 100644
(file)
--- a/
src/lib/openjp2/j2k.c
+++ b/
src/lib/openjp2/j2k.c
@@
-11139,8
+11139,9
@@
OPJ_BOOL opj_j2k_encode(opj_j2k_t * p_j2k,
l_max_tile_size = l_current_tile_size;
}
if (l_current_data == NULL) {
- /* Shoul not happen in practice, but will avoid Coverity to */
+ /* Shoul
d
not happen in practice, but will avoid Coverity to */
/* complain about a null pointer dereference */
+ assert(0);
return OPJ_FALSE;
}