Fixed issue #74.
This commit is contained in:
parent
fda0cada0e
commit
3e1d8d6aef
1
CHANGES
1
CHANGES
|
@ -6,6 +6,7 @@ What's New for OpenJPEG
|
||||||
+ : added
|
+ : added
|
||||||
|
|
||||||
July 23, 2011
|
July 23, 2011
|
||||||
|
+ [vtorri] Fixed issue #74.
|
||||||
+ [vtorri] Added libpng 1.5 detection. Dropped libpng 1.0.* explicit detection (we are in 2011 !). Patch by Winfried.
|
+ [vtorri] Added libpng 1.5 detection. Dropped libpng 1.0.* explicit detection (we are in 2011 !). Patch by Winfried.
|
||||||
|
|
||||||
July 13, 2011
|
July 13, 2011
|
||||||
|
|
|
@ -458,7 +458,7 @@ opj_image_t* bmptoimage(const char *filename, opj_cparameters_t *parameters)
|
||||||
|
|
||||||
if(Info_h.biSize != 40)
|
if(Info_h.biSize != 40)
|
||||||
{
|
{
|
||||||
fprintf(stderr,"Error, unknown BMP header size %d\n", Info_h.biSize);
|
fprintf(stderr,"Error, unknown BMP header size %ld\n", Info_h.biSize);
|
||||||
fclose(IN);
|
fclose(IN);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue