summaryrefslogtreecommitdiff
path: root/src/bin/jp2/convertpng.c
diff options
context:
space:
mode:
authormayeut <mayeut@users.noreply.github.com>2015-07-24 23:55:45 +0200
committermayeut <mayeut@users.noreply.github.com>2015-07-24 23:55:45 +0200
commitb190a91ab5a147cfdf10dde57354bec90a1f9258 (patch)
tree3a6d2e0207553e8fbd2ec855b9575b1c5a3a5a30 /src/bin/jp2/convertpng.c
parentf6843d55111d015ee7a696760a748576b51fdb0a (diff)
Remove some warnings when building
Update #442
Diffstat (limited to 'src/bin/jp2/convertpng.c')
-rw-r--r--src/bin/jp2/convertpng.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/bin/jp2/convertpng.c b/src/bin/jp2/convertpng.c
index ccb1c1f7..5fe6dccc 100644
--- a/src/bin/jp2/convertpng.c
+++ b/src/bin/jp2/convertpng.c
@@ -536,9 +536,11 @@ int imagetopng(opj_image_t * image, const char *write_idf)
{
png_set_packing(png);
}
- // printf("%s:%d:sgnd(%d,%d,%d) w(%d) h(%d) alpha(%d)\n",__FILE__,__LINE__,
- //image->comps[0].sgnd,
- //image->comps[1].sgnd,image->comps[2].sgnd,width,height,has_alpha);
+ /*
+ printf("%s:%d:sgnd(%d,%d,%d) w(%d) h(%d) alpha(%d)\n",__FILE__,__LINE__,
+ image->comps[0].sgnd,
+ image->comps[1].sgnd,image->comps[2].sgnd,width,height,has_alpha);
+ */
adjustR = (image->comps[0].sgnd ? 1 << (image->comps[0].prec - 1) : 0);
adjustG = (image->comps[1].sgnd ? 1 << (image->comps[1].prec - 1) : 0);