1. configure.ac has wrong VERSION
2. pngtoimage() in convert.c has missing code
in case the PNG image is interlaced.
./image_to_j2k -i interlaced-1471-2105-7-160-1.PNG -o interlaced.jp2
libpng warning:
Interlace handling should be turned on when using png_read_image
3. j2k_to_image.c in convert lacks infile test.
4. cio_skip() in libopenjpeg has two different assert test.
./mj2_to_frames /home/IMG/MJ2/Speedway.mj2 speed.yuv
mj2_to_frames: ../../../applications/mj2/../../libopenjpeg/cio.c:191: cio_skip:
Assertion `(cio->bp + n) >= cio->bp' failed.
Aborted
The first test is wrong:
void cio_skip(opj_cio_t *cio, int n) {
assert((cio->bp + n) >= cio->bp); <=================================
if (((cio->bp + n) < cio->start) || ((cio->bp + n) > cio->end)) {<==
assert(0);
}
cio->bp += n;
}
winfried
Original issue reported on code.google.com by szukw...@arcor.de on 3 Apr 2014 at 3:42
Original issue reported on code.google.com by
szukw...@arcor.de
on 3 Apr 2014 at 3:42Attachments: