shithub: jbig2

Download patch

ref: 7f47c8e262ffb76f3f0965e7704e1a1b500ef463
parent: c3134491a3010fcce440a45968407c6511766671
author: Robin Watts <[email protected]>
date: Thu Jan 23 05:39:30 EST 2020

jbig2dec: Insert missing "inline" in templating.

When using static inline templating to optimise a file, it's
generally best to actually use static inline, and not just
static.

--- a/jbig2_image.c
+++ b/jbig2_image.c
@@ -164,7 +164,7 @@
     return image;
 }
 
-static void
+static inline void
 template_image_compose_opt(const uint8_t * JBIG2_RESTRICT ss, uint8_t * JBIG2_RESTRICT dd, int early, int late, uint8_t leftmask, uint8_t rightmask, uint32_t bytewidth_, uint32_t h, uint32_t shift, uint32_t dstride, uint32_t sstride, Jbig2ComposeOp op)
 {
     int i;