diff options
Diffstat (limited to 'base/sjpx_openjpeg.c')
-rw-r--r-- | base/sjpx_openjpeg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/sjpx_openjpeg.c b/base/sjpx_openjpeg.c index bac505dd4..8276cedd7 100644 --- a/base/sjpx_openjpeg.c +++ b/base/sjpx_openjpeg.c @@ -236,7 +236,10 @@ static void sjpx_info_callback(const char *msg, void *ptr) static void sjpx_warning_callback(const char *msg, void *ptr) { +#ifdef DEBUG + /* prevent too many messages during normal build */ dlprintf1("openjpeg warning: %s", msg); +#endif } /* initialize the stream */ |