mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-01-12 00:06:51 +08:00
avcodec/notchlc: actually use HISTORY_SIZE to initialize history
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user