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

Failed to build with ffmpeg 6.1 #41

Closed
linyinfeng opened this issue Jan 17, 2024 · 1 comment
Closed

Failed to build with ffmpeg 6.1 #41

linyinfeng opened this issue Jan 17, 2024 · 1 comment

Comments

@linyinfeng
Copy link
Contributor

The dependency ffmpeg-next locked in Cargo.lock does not support FFmpeg 6.1, causing a build failure.

error[E0004]: non-exhaustive patterns: `sys::AVPixelFormat::AV_PIX_FMT_P212BE`, `sys::AVPixelFormat::AV_PIX_FMT_P212LE`, `sys::AVPixelFormat::AV_PIX_FMT_P412BE` and 3 more not covered
[[package]]
name = "ffmpeg-next"
version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8af03c47ad26832ab3aabc4cdbf210af3d3b878783edd5a7ba044ba33aab7a60"
dependencies = [
 "bitflags 1.3.2",
 "ffmpeg-sys-next",
 "libc",
]

Upstream of ffmpeg-next already fixed this issue in https://github.com/zmwangx/rust-ffmpeg-sys/pull/65, and released the fix on crates.io (https://crates.io/crates/ffmpeg-next/versions).

@bendschs
Copy link

same issue here with newly released version of msstickereditor

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