[trunk] Explicitely trigger issue 229, there may be an impact in code execution. The assert may get removed afterward
Update issue 229
This commit is contained in:
parent
339952c2af
commit
16febebd28
|
@ -102,6 +102,7 @@ Divide an integer and round upwards
|
||||||
@return Returns a divided by b
|
@return Returns a divided by b
|
||||||
*/
|
*/
|
||||||
static INLINE OPJ_INT32 opj_int_ceildiv(OPJ_INT32 a, OPJ_INT32 b) {
|
static INLINE OPJ_INT32 opj_int_ceildiv(OPJ_INT32 a, OPJ_INT32 b) {
|
||||||
|
assert(b);
|
||||||
return (a + b - 1) / b;
|
return (a + b - 1) / b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue