ref: 6cb9961bb0b8fc745dc98b3ef5f7f72385b8adfd
parent: 01b0f541b4adc7dbaf63fea4a11d013fde343f8c
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sun Nov 22 18:31:45 EST 2020
jpx filter: plain copy for now
--- a/f_jpx.c
+++ b/f_jpx.c
@@ -2,6 +2,15 @@
#include <libc.h>
#include "pdf.h"
+static int
+flreadall(void *aux, Buffer *bi, Buffer *bo)
+{
+ USED(aux);
+ bufput(bo, bi->b, bi->sz);
+ return 0;
+}
+
Filter filterJPX = {
.name = "JPXDecode",
+ .readall = flreadall,
};