rust-ffmpeg
rust-ffmpeg copied to clipboard
Instant panic on init
When calling ffmpeg-next::init a panic is called if the dll aren't available. This seems counter intuitive since a result is returned but ignored. This is a simple example.
fn main() {
if let Err(e) = ffmpeg_next::init() {
panic!("Error initializing ffmpeg: {}", e);
}
}
this would panic with error: process didn't exit successfully: 'target\debug\ffmpeg-testing.exe' (exit code: 0xc0000139, STATUS_ENTRYPOINT_NOT_FOUND)
Ffmpeg version: Version: 6.0-full_build
ffmpeg-next: "6.0.0"
C:\Users\Brandon\Desktop\vcpkg\installed\x64-windows-release\bin
these if you installed with vcpkg on windows
dupe of https://github.com/zmwangx/rust-ffmpeg/issues/119