aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/liblzma/common/easy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/common/easy.c b/src/liblzma/common/easy.c
index 2294ba70..718fffdd 100644
--- a/src/liblzma/common/easy.c
+++ b/src/liblzma/common/easy.c
@@ -28,7 +28,7 @@ struct lzma_coder_s {
/// We need to keep the filters array available in case
/// LZMA_FULL_FLUSH is used.
- lzma_filter filters[5];
+ lzma_filter filters[LZMA_FILTERS_MAX + 1];
};