aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryzrh <yzrh@noema.org>2023-01-01 21:26:44 +0000
committeryzrh <yzrh@noema.org>2023-01-01 21:26:44 +0000
commit000405693ead8ef950558b15de576e36e184b680 (patch)
tree01115cc0645a0e0d1dd1d2d6f94aa5bf790b377e
parentd6fa934b5f1a418ea4821a6562773b9ff1aaf6e8 (diff)
downloadmelon-000405693ead8ef950558b15de576e36e184b680.tar.gz
melon-000405693ead8ef950558b15de576e36e184b680.tar.zst
Update CHANGE.
Signed-off-by: yzrh <yzrh@noema.org>
-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 ""