diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-03-03 11:30:54 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-03-03 11:30:54 +0000 |
| commit | 16febebd28aafe8a47472d669b399dded8f84c5e (patch) | |
| tree | fad4a5358c4810247cef5d26f1c42f22dde56142 /src/lib | |
| parent | 339952c2af6332f46938e3824c70d3d5091bf474 (diff) | |
[trunk] Explicitely trigger issue 229, there may be an impact in code execution. The assert may get removed afterward
Update issue 229
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/openjp2/opj_intmath.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/openjp2/opj_intmath.h b/src/lib/openjp2/opj_intmath.h index 94512afc..73d08a28 100644 --- a/src/lib/openjp2/opj_intmath.h +++ b/src/lib/openjp2/opj_intmath.h @@ -102,6 +102,7 @@ Divide an integer and round upwards @return Returns a divided by b */ static INLINE OPJ_INT32 opj_int_ceildiv(OPJ_INT32 a, OPJ_INT32 b) { + assert(b); return (a + b - 1) / b; } |
