blob: 2bafc093a337f2c6b4dfafd4fef3a7af40584513 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ag,v 1.1 2002/11/13 14:24:22 dillo Exp $
--- src/libjasper/jpc/jpc_dec.c.orig Fri Oct 18 21:48:51 2002
+++ src/libjasper/jpc/jpc_dec.c
@@ -1502,7 +1502,9 @@ static int jpc_dec_process_com(jpc_dec_t
static int jpc_dec_process_unk(jpc_dec_t *dec, jpc_ms_t *ms)
{
fprintf(stderr, "warning: ignoring unknown marker segment\n");
- jpc_ms_dump(ms, stderr);
+ if (jas_getdbglevel() >= 1) {
+ jpc_ms_dump(ms, stderr);
+ }
return 0;
}
|