use right validation for ffmpeg executable

This commit is contained in:
Jakub Trllo 2023-03-16 11:20:00 +01:00
parent 0cb3585d91
commit f96670d9df

View file

@ -375,7 +375,7 @@ def get_ffmpeg_tool_path(tool="ffmpeg"):
# Look to PATH for the tool
if not tool_executable_path:
from_path = find_executable(tool)
if from_path and _oiio_executable_validation(from_path):
if from_path and _ffmpeg_executable_validation(from_path):
tool_executable_path = from_path
CachedToolPaths.cache_executable_path(tool, tool_executable_path)