OSDN Git Service

avfilter/palettegen: raise cache size from 64k to 512k
authorClément Bœsch <clement@stupeflix.com>
Thu, 19 Feb 2015 10:17:43 +0000 (11:17 +0100)
committerClément Bœsch <clement@stupeflix.com>
Thu, 19 Feb 2015 10:17:45 +0000 (11:17 +0100)
(or 32k to 256k in 32-bit)

This is similar to a00bab347518d4824d51ec7078f1d84ca097c53b

libavfilter/vf_palettegen.c

index 1f1e90f..323fa53 100644 (file)
@@ -52,7 +52,7 @@ enum {
     NB_STATS_MODE
 };
 
-#define NBITS 4
+#define NBITS 5
 #define HIST_SIZE (1<<(3*NBITS))
 
 typedef struct {