shithub: jbig2

Download patch

ref: 5d956c4d90d58c1fca70e8c3828e43ea92ee6876
parent: 94df1ee100213e29e6790e480a15bda597e560ef
author: Sebastian Rasmussen <sebras@gmail.com>
date: Sun Jul 8 18:05:57 EDT 2018

jbig2dec: Fix accidental typo in context size function.

--- a/jbig2_generic.c
+++ b/jbig2_generic.c
@@ -50,7 +50,7 @@
 int
 jbig2_generic_stats_size(Jbig2Ctx *ctx, int template)
 {
-    int stats_size = template == 0 ? 1 << 16 : template == 1 ? 1 << 1 << 13 : 1 << 10;
+    int stats_size = template == 0 ? 1 << 16 : template == 1 ? 1 << 13 : 1 << 10;
 
     return stats_size;
 }