shithub: pdffs

ref: f001da4914eb8fec6539329a08bf1c1a52bee655
dir: /f_jbig2.c/

View raw version
#include <u.h>
#include <libc.h>
#include "pdf.h"

static int
flreadall(void *aux, Buffer *bi, Buffer *bo)
{
	USED(aux);

	bufput(bo, bi->b, bi->sz);
	bi->off = bi->sz;

	return 0;
}

Filter filterJBIG2 = {
	.name = "JBIG2Decode",
	.readall = flreadall,
};