summaryrefslogtreecommitdiff
path: root/libmat2/video.py
diff options
context:
space:
mode:
authorjvoisin2023-01-31 20:42:39 +0100
committerjvoisin2023-01-31 20:42:39 +0100
commite41390eb64eaf72fd1b9914221eaf22801812521 (patch)
tree42cc3ce662d18987ce47ea248f73bb261a35d4a2 /libmat2/video.py
parent66a36f6b15b0a9fdc792aabe3d0956b3fc680464 (diff)
Explicitly pass a parameter to functools.lru_cache
Diffstat (limited to '')
-rw-r--r--libmat2/video.py2
1 files changed, 1 insertions, 1 deletions
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):
135 } 135 }
136 136
137 137
138@functools.lru_cache() 138@functools.lru_cache(maxsize=None)
139def _get_ffmpeg_path() -> str: # pragma: no cover 139def _get_ffmpeg_path() -> str: # pragma: no cover
140 which_path = shutil.which('ffmpeg') 140 which_path = shutil.which('ffmpeg')
141 if which_path: 141 if which_path: