Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instant panic on init #144

Open
n1ght-hunter opened this issue Apr 15, 2023 · 1 comment
Open

Instant panic on init #144

n1ght-hunter opened this issue Apr 15, 2023 · 1 comment

Comments

@n1ght-hunter
Copy link

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"

@brandonros
Copy link

brandonros commented May 25, 2023

C:\Users\Brandon\Desktop\vcpkg\installed\x64-windows-release\bin
image

these if you installed with vcpkg on windows

dupe of #119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants