shithub: pdffs

ref: 0cba24e79ef4e3fe049206599322cf8f434fc4b0
dir: /f_jpx.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);
	return 0;
}

Filter filterJPX = {
	.name = "JPXDecode",
	.readall = flreadall,
};