We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8050eba commit 6a83f54Copy full SHA for 6a83f54
1 file changed
build.rs
@@ -417,9 +417,12 @@ fn dynamic_linking(env_vars: EnvVars) {
417
stem.trim_start_matches("lib")
418
}
419
})
420
- .unwrap()
+ .expect("FFMPEG_DLL_PATH does not point to a valid file. Ensure the path includes a filename.")
421
.to_string(),
422
- ffmpeg_dll_path.parent().unwrap().to_path_buf(),
+ ffmpeg_dll_path
423
+ .parent()
424
+ .expect("FFMPEG_DLL_PATH has no parent directory. Please provide a full path including the directory.")
425
+ .to_path_buf(),
426
);
427
linking_with_single_lib(&lib_name, &ffmpeg_dll_dir, FFmpegLinkMode::Dynamic);
428
0 commit comments