From 08459fd94478e2f260abab8d5ac1808bae3e4180 Mon Sep 17 00:00:00 2001 From: Antonin Descampe Date: Tue, 11 Jan 2011 08:21:13 +0000 Subject: [PATCH] removed forgotten debug info in imagetopnm() --- CHANGES | 3 +++ codec/convert.c | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index a27b2cb7..c1a83433 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,9 @@ What's New for OpenJPEG ! : changed + : added +January 9, 2011 +- [antonin] removed forgotten debug info in imagetopnm(). + January 9, 2011 ! [antonin] imagetopnm() has been rewritten to allow 16-bits precision, and PAM (P7) support. See Netpbm for more info. (patch from szukw000). diff --git a/codec/convert.c b/codec/convert.c index bbd718b7..e336f98f 100644 --- a/codec/convert.c +++ b/codec/convert.c @@ -1295,9 +1295,6 @@ int imagetopnm(opj_image_t * image, const char *outfile) want_gray = (*tmp == 'g' || *tmp == 'G'); ncomp = image->numcomps; -fprintf(stderr,"%s:%d:ncomp(%d) opj_prec(%d) prec(%d)\n", -__FILE__,__LINE__,ncomp,opj_prec,prec); - if (ncomp > 2 && image->comps[0].dx == image->comps[1].dx && image->comps[1].dx == image->comps[2].dx