Currently the Visual Studio builds are broken in the SVN. Attached a patch to fix this issue (from szekerest)

This commit is contained in:
Antonin Descampe 2010-10-22 09:43:06 +00:00
parent c2f441840f
commit 56dd722fb4
2 changed files with 5 additions and 1 deletions

View File

@ -5,6 +5,9 @@ What's New for OpenJPEG
! : changed
+ : 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
* [szukw000] replaced 'cp -d' with 'cp -P' for MacOSX

View File

@ -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)
{
int skip_len;
opj_common_ptr cinfo;
/* Part 1, I.5.3.3 : 'A conforming JP2 reader shall ignore all Colour
* Specification boxes after the first.'
*/
if(ext->jp2_has_colr) return false;
opj_common_ptr cinfo = jp2->cinfo;
cinfo = jp2->cinfo;
jp2->meth = cio_read(cio, 1); /* METH */
jp2->precedence = cio_read(cio, 1); /* PRECEDENCE */