diff options
author | yzrh <yzrh@noema.org> | 2022-12-20 00:05:13 +0000 |
---|---|---|
committer | yzrh <yzrh@noema.org> | 2022-12-20 00:23:46 +0000 |
commit | 63728e1340a27b7ae629a747229871f3dc670de5 (patch) | |
tree | bf3f57fff67b8f92c0ca280618c2f74dafeb4d28 /src/jbig.c | |
parent | 3550095959fac9337f35306e3c5f6a6aae458129 (diff) | |
download | melon-63728e1340a27b7ae629a747229871f3dc670de5.tar.gz melon-63728e1340a27b7ae629a747229871f3dc670de5.tar.zst |
Add error message for JBIG.
Signed-off-by: yzrh <yzrh@noema.org>
Diffstat (limited to 'src/jbig.c')
-rw-r--r-- | src/jbig.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-2021, yzrh <yzrh@noema.org> + * Copyright (c) 2020-2022, yzrh <yzrh@noema.org> * * SPDX-License-Identifier: Apache-2.0 */ @@ -24,7 +24,7 @@ strdec_jbig(char **bitmap, int *bitmap_size, int ret; if ((ret = jbg_dec_in(&sd, (unsigned char *) data_ptr, data_size, NULL)) != JBG_EOK) { - printf("%s\n", jbg_strerror(ret)); + printf("[%s] ", jbg_strerror(ret)); jbg_dec_free(&sd); return 1; } |