From 1994f122cc29504862944cca1da1c5203c7e41eb Mon Sep 17 00:00:00 2001 From: yzrh Date: Thu, 31 Dec 2020 22:36:28 +0000 Subject: Decode JBIG and JPEG during HN conversion. --- src/pdf_cnki.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pdf_cnki.c') diff --git a/src/pdf_cnki.c b/src/pdf_cnki.c index 6e5f810..84274b8 100644 --- a/src/pdf_cnki.c +++ b/src/pdf_cnki.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020, yzrh + * Copyright (c) 2020-2021, yzrh * * SPDX-License-Identifier: Apache-2.0 */ @@ -93,7 +93,7 @@ _outline(pdf_object_t **pdf, object_outline_tree_t **outline_tree, int id, int * atoi(ptr->item->page) - 1); strcat(dictionary, buf); - pdf_obj_append(pdf, ptr->id, NULL, dictionary, NULL); + pdf_obj_append(pdf, ptr->id, NULL, dictionary, NULL, 0); if (ptr->left == NULL) (*stat)[1] = ptr->id; @@ -128,7 +128,7 @@ pdf_cnki_outline(pdf_object_t **pdf, object_outline_t **outline, int **ids) free(ret); - pdf_obj_append(pdf, (*ids)[0], NULL, buf, NULL); + pdf_obj_append(pdf, (*ids)[0], NULL, buf, NULL, 0); return 0; } -- cgit v1.2.3