Remove some warnings when building

Update #442
This commit is contained in:
mayeut 2015-07-26 19:19:31 +02:00
parent 2452bb7c45
commit 15e4168ee2
1 changed files with 2 additions and 2 deletions

View File

@ -406,8 +406,8 @@ int imagetopng(opj_image_t * image, const char *write_idf)
PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE);
png_set_sBIT(png, info, &sig_bit);
//png_set_gamma(png, 2.2, 1./2.2);
//png_set_sRGB(png, info, PNG_sRGB_INTENT_PERCEPTUAL);
/* png_set_gamma(png, 2.2, 1./2.2); */
/* png_set_sRGB(png, info, PNG_sRGB_INTENT_PERCEPTUAL); */
png_write_info(png, info);
/* setup conversion */