diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2011-09-08 00:20:26 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2011-09-17 15:06:32 +0200 |
commit | c6959b1074f7a80a2c0d16697a3544c627d9b978 (patch) | |
tree | f29d64049b6ddca6182570bca22d55a3f55d9a19 /fitz/filt_jpxd.c | |
parent | 32ee8f594db8c6221db2c42949e0ee58cc47c176 (diff) | |
download | mupdf-c6959b1074f7a80a2c0d16697a3544c627d9b978.tar.xz |
Use rate limited fitz warnings for openjpeg warnings/errors.
Diffstat (limited to 'fitz/filt_jpxd.c')
-rw-r--r-- | fitz/filt_jpxd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fitz/filt_jpxd.c b/fitz/filt_jpxd.c index 765aad29..101f4e10 100644 --- a/fitz/filt_jpxd.c +++ b/fitz/filt_jpxd.c @@ -5,17 +5,17 @@ static void fz_opj_error_callback(const char *msg, void *client_data) { - fprintf(stderr, "openjpeg error: %s", msg); + fz_warn("openjpeg error: %s", msg); } static void fz_opj_warning_callback(const char *msg, void *client_data) { - fprintf(stderr, "openjpeg warning: %s", msg); + fz_warn("openjpeg warning: %s", msg); } static void fz_opj_info_callback(const char *msg, void *client_data) { - /* fprintf(stderr, "openjpeg info: %s", msg); */ + /* fz_warn("openjpeg info: %s", msg); */ } fz_error |