Currently the Visual Studio builds are broken in the SVN. Attached a patch to fix this issue (from szekerest)
This commit is contained in:
parent
c2f441840f
commit
56dd722fb4
3
CHANGES
3
CHANGES
|
@ -5,6 +5,9 @@ What's New for OpenJPEG
|
||||||
! : changed
|
! : changed
|
||||||
+ : added
|
+ : added
|
||||||
|
|
||||||
|
October 22, 2010
|
||||||
|
* [antonin] Currently the Visual Studio builds are broken in the SVN. Attached a patch to fix this issue (from szekerest)
|
||||||
|
|
||||||
October 22, 2010
|
October 22, 2010
|
||||||
* [szukw000] replaced 'cp -d' with 'cp -P' for MacOSX
|
* [szukw000] replaced 'cp -d' with 'cp -P' for MacOSX
|
||||||
|
|
||||||
|
|
|
@ -514,13 +514,14 @@ static bool jp2_read_colr(opj_jp2_t *jp2, opj_cio_t *cio,
|
||||||
opj_jp2_box_t *box, struct extension *ext)
|
opj_jp2_box_t *box, struct extension *ext)
|
||||||
{
|
{
|
||||||
int skip_len;
|
int skip_len;
|
||||||
|
opj_common_ptr cinfo;
|
||||||
|
|
||||||
/* Part 1, I.5.3.3 : 'A conforming JP2 reader shall ignore all Colour
|
/* Part 1, I.5.3.3 : 'A conforming JP2 reader shall ignore all Colour
|
||||||
* Specification boxes after the first.'
|
* Specification boxes after the first.'
|
||||||
*/
|
*/
|
||||||
if(ext->jp2_has_colr) return false;
|
if(ext->jp2_has_colr) return false;
|
||||||
|
|
||||||
opj_common_ptr cinfo = jp2->cinfo;
|
cinfo = jp2->cinfo;
|
||||||
|
|
||||||
jp2->meth = cio_read(cio, 1); /* METH */
|
jp2->meth = cio_read(cio, 1); /* METH */
|
||||||
jp2->precedence = cio_read(cio, 1); /* PRECEDENCE */
|
jp2->precedence = cio_read(cio, 1); /* PRECEDENCE */
|
||||||
|
|
Loading…
Reference in New Issue