[FFmpeg-devel] [PATCH 1/2] avfilter/vf_lut3d: increase MAX_LEVEL

Paul B Mahol onemda at gmail.com
Thu Apr 25 15:57:25 EEST 2019


Found 65x65x65 3D LUT in wild

Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavfilter/vf_lut3d.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_lut3d.c b/libavfilter/vf_lut3d.c
index 50ea5a8545..d1974b0e05 100644
--- a/libavfilter/vf_lut3d.c
+++ b/libavfilter/vf_lut3d.c
@@ -55,7 +55,7 @@ struct rgbvec {
 
 /* 3D LUT don't often go up to level 32, but it is common to have a Hald CLUT
  * of 512x512 (64x64x64) */
-#define MAX_LEVEL 64
+#define MAX_LEVEL 65
 
 typedef struct LUT3DContext {
     const AVClass *class;
-- 
2.17.1



More information about the ffmpeg-devel mailing list