From a00bab347518d4824d51ec7078f1d84ca097c53b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= <clement@stupeflix.com>
Date: Tue, 17 Feb 2015 17:15:00 +0100
Subject: [PATCH] avfilter/paletteuse: raise cache size from 64k to 512k

(or 32k to 256k in 32-bit)
---
 libavfilter/vf_paletteuse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_paletteuse.c b/libavfilter/vf_paletteuse.c
index 8188e3624d5..b36f72e4ff5 100644
--- a/libavfilter/vf_paletteuse.c
+++ b/libavfilter/vf_paletteuse.c
@@ -50,7 +50,7 @@ struct color_node {
     int left_id, right_id;
 };
 
-#define NBITS 4
+#define NBITS 5
 #define CACHE_SIZE (1<<(3*NBITS))
 
 struct cached_color {
-- 
GitLab