From efb676776a4f636aad035424249b3820745a37da Mon Sep 17 00:00:00 2001 From: powturbo Date: Mon, 15 Aug 2016 17:47:35 +0200 Subject: [PATCH] TurboPFor encode --- vp4dc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vp4dc.c b/vp4dc.c index 549799b..40e5e39 100644 --- a/vp4dc.c +++ b/vp4dc.c @@ -175,8 +175,9 @@ unsigned char *TEMPLATE2(P4DENC, USIZE)(uint_t *__restrict in, unsigned n, unsig unsigned char *TEMPLATE2(P4DNENC, USIZE)(uint_t *__restrict in, unsigned n, unsigned char *__restrict out) { uint_t *ip; for(ip = in; ip < in+n; ip += P4DSIZE) { unsigned l = (in+n) - ip; l = min(l, P4DSIZE); - out = TEMPLATE2(P4DENC, USIZE)(ip, l, out);; + out = TEMPLATE2(P4DENC, USIZE)(ip, l, out); } + return out; } #pragma clang diagnostic pop #endif