From 7f44dcfbfb256f2cf900dbd94762e85575841a36 Mon Sep 17 00:00:00 2001 From: Timo Rothenpieler Date: Sat, 3 Jan 2026 19:15:39 +0100 Subject: [PATCH] avcodec/notchlc: actually use HISTORY_SIZE to initialize history --- libavcodec/notchlc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/notchlc.c b/libavcodec/notchlc.c index d99de1810e..82c48d2054 100644 --- a/libavcodec/notchlc.c +++ b/libavcodec/notchlc.c @@ -79,7 +79,7 @@ static int lz4_decompress(AVCodecContext *avctx, PutByteContext *pb) { unsigned reference_pos, delta, pos = 0; - uint8_t history[64 * 1024]; + uint8_t history[HISTORY_SIZE]; int match_length; while (bytestream2_get_bytes_left(gb) > 0) {