We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de7d148 commit 7cde820Copy full SHA for 7cde820
src/torchcodec/_core/ops.py
@@ -101,7 +101,7 @@ def load_torchcodec_shared_libraries() -> tuple[int, str]:
101
if ffmpeg_path := shutil.which("ffmpeg"):
102
103
def expose_ffmpeg_dlls(): # noqa: F811
104
- ffmpeg_dir = Path(ffmpeg_path).parent
+ ffmpeg_dir = Path(ffmpeg_path).parent.absolute()
105
return os.add_dll_directory(str(ffmpeg_dir)) # that's the actual CM
106
107
0 commit comments