[FFmpeg-devel] [PATCH 3/4] avcodec/prosumer: Reduce lut size

Michael Niedermayer michael at niedermayer.cc
Sun Jan 13 00:28:02 EET 2019


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavcodec/prosumer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/prosumer.c b/libavcodec/prosumer.c
index 3fa9986a38..9143bb1bf4 100644
--- a/libavcodec/prosumer.c
+++ b/libavcodec/prosumer.c
@@ -38,7 +38,7 @@ typedef struct ProSumerContext {
 
     unsigned stride;
     unsigned size;
-    uint32_t lut[0x10000];
+    uint32_t lut[0x2000];
     uint8_t *initial_line;
     uint8_t *decbuffer;
 } ProSumerContext;
-- 
2.20.1



More information about the ffmpeg-devel mailing list