ref: 3ca075372109704f25aeb9b7c8f4f60ccdcee9ce
parent: f001da4914eb8fec6539329a08bf1c1a52bee655
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Apr 9 10:20:23 EDT 2021
dct, jpx: extract as is
--- a/f_dct.c
+++ b/f_dct.c
@@ -6,7 +6,10 @@
flreadall(void *aux, Buffer *bi, Buffer *bo)
{
USED(aux);
+
bufput(bo, bi->b, bi->sz);
+ bi->off = bi->sz;
+
return 0;
}
--- a/f_jpx.c
+++ b/f_jpx.c
@@ -6,7 +6,10 @@
flreadall(void *aux, Buffer *bi, Buffer *bo)
{
USED(aux);
+
bufput(bo, bi->b, bi->sz);
+ bi->off = bi->sz;
+
return 0;
}