aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGE.md7
-rw-r--r--src/pdf_parser.c2
-rw-r--r--src/version.h4
3 files changed, 9 insertions, 4 deletions
diff --git a/CHANGE.md b/CHANGE.md
index 7a384ea..a2bfe9f 100644
--- a/CHANGE.md
+++ b/CHANGE.md
@@ -3,6 +3,13 @@
* Support HN text overlay.
+0.2.5 (2023-01-XX)
+==================
+
+* Improve PDF parser.
+* Handle duplicated object in CAJ.
+* Fix JBIG decoder.
+
0.2.4 (2022-12-31)
==================
diff --git a/src/pdf_parser.c b/src/pdf_parser.c
index d0affb6..bb45e63 100644
--- a/src/pdf_parser.c
+++ b/src/pdf_parser.c
@@ -146,8 +146,6 @@ pdf_load(pdf_object_t **pdf, FILE **fp, int size_buf)
if (buf == NULL)
return 1;
- memset(buf, 0, ptr->size);
-
fseek(*fp, ptr->address - 15, SEEK_SET);
fread(str, 8, 1, *fp);
diff --git a/src/version.h b/src/version.h
index 53be5ba..46eeb34 100644
--- a/src/version.h
+++ b/src/version.h
@@ -1,10 +1,10 @@
/*
- * Copyright (c) 2020-2022, yzrh <yzrh@noema.org>
+ * Copyright (c) 2020-2023, yzrh <yzrh@noema.org>
*
* SPDX-License-Identifier: Apache-2.0
*/
#define VERSION "0"
#define RELEASE "2"
-#define PATCH "4"
+#define PATCH "5"
#define EXTRA ""