From e41390eb64eaf72fd1b9914221eaf22801812521 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 31 Jan 2023 20:42:39 +0100 Subject: Explicitly pass a parameter to functools.lru_cache --- libmat2/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmat2/video.py') diff --git a/libmat2/video.py b/libmat2/video.py index 772a89e..39059c5 100644 --- a/libmat2/video.py +++ b/libmat2/video.py @@ -135,7 +135,7 @@ class MP4Parser(AbstractFFmpegParser): } -@functools.lru_cache() +@functools.lru_cache(maxsize=None) def _get_ffmpeg_path() -> str: # pragma: no cover which_path = shutil.which('ffmpeg') if which_path: -- cgit v1.3