[trunk] Revert portion of r2562, need to investigate issue.

Update issue 269
This commit is contained in:
Mathieu Malaterre 2014-03-04 08:40:06 +00:00
parent d643ff5dbc
commit 51caff5dcf
1 changed files with 2 additions and 0 deletions

View File

@ -372,7 +372,9 @@ void opj_mqc_destroy(opj_mqc_t *mqc) {
OPJ_UINT32 opj_mqc_numbytes(opj_mqc_t *mqc) {
const ptrdiff_t diff = mqc->bp - mqc->start;
#if 0
assert( diff <= 0xffffffff && diff >= 0 ); /* UINT32_MAX */
#endif
return (OPJ_UINT32)diff;
}