Skip to content

Commit d958923

Browse files
committed
fix FFmpeg binary regex pattern
1 parent c08b0d7 commit d958923

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def main():
7878
# Path regexes with forward slashes relative to CMake install dir.
7979
rearrange_cmake_output_data = {
8080

81-
'cv2': ([r'bin/opencv_ffmpeg\d{3}%s\.dll' % ('_64' if x64 else '')] if os.name == 'nt' else []) +
81+
'cv2': ([r'bin/opencv_ffmpeg\d{3,4}%s\.dll' % ('_64' if x64 else '')] if os.name == 'nt' else []) +
8282
# In Windows, in python/X.Y/<arch>/; in Linux, in just python/X.Y/.
8383
# Naming conventions vary so widely between versions and OSes
8484
# had to give up on checking them.

0 commit comments

Comments
 (0)