opj_int_fix_mul: Assertion `(temp >> 13) <= (OPJ_INT64)0x7FFFFFFF' failed.
which is odd - why now?
Anywhere here we limit the OpenJPEG image values to what I think is
the "legal" range.
auto image = make_shared<dcp::OpenJPEGImage>(size);
for (int i = 0; i < 3; ++i) {
for (int j = 0; j < (size.width * size.height); ++j) {
auto image = make_shared<dcp::OpenJPEGImage>(size);
for (int i = 0; i < 3; ++i) {
for (int j = 0; j < (size.width * size.height); ++j) {
- image->data(i)[j] = rand();
+ image->data(i)[j] = rand() % 4095;