You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I built on Raspberry Pi 4 with Raspberry OS (Debian 12).
The version of ffmpeg is:
ffmpeg version 5.1.6-0+deb12u1+rpt1 Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)
When I build my program, I got error:
error[E0004]: non-exhaustive patterns: `sys::AVPixelFormat::AV_PIX_FMT_SAND128`, `sys::AVPixelFormat::AV_PIX_FMT_SAND64_10`, `sys::AVPixelFormat::AV_PIX_FMT_SAND64_16` and 2 more not covered
--> /home/qinka/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/ffmpeg-next-7.0.4/src/util/format/pixel.rs:481:15
|
481 | match value {
| ^^^^^ patterns `sys::AVPixelFormat::AV_PIX_FMT_SAND128`, `sys::AVPixelFormat::AV_PIX_FMT_SAND64_10`, `sys::AVPixelFormat::AV_PIX_FMT_SAND64_16` and 2 more not covered
|
note: `sys::AVPixelFormat` defined here
--> /home/qinka/on-serve/target/release/build/ffmpeg-sys-next-d13bce8c04236767/out/bindings.rs:5627:1
|
5627 | pub enum AVPixelFormat {
| ^^^^^^^^^^^^^^^^^^^^^^
...
5823 | AV_PIX_FMT_SAND128 = 194,
| ------------------ not covered
5824 | AV_PIX_FMT_SAND64_10 = 195,
| -------------------- not covered
5825 | AV_PIX_FMT_SAND64_16 = 196,
| -------------------- not covered
5826 | AV_PIX_FMT_RPI4_8 = 197,
| ----------------- not covered
5827 | AV_PIX_FMT_RPI4_10 = 198,
| ------------------ not covered
= note: the matched value is of type `sys::AVPixelFormat`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms
|
778 ~ AV_PIX_FMT_P416LE => Pixel::P416LE,
779 ~ _ => todo!(),
|
For more information about this error, try `rustc --explain E0004`.
error: could not compile `ffmpeg-next` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
But it worked on x86 fedora 40
The text was updated successfully, but these errors were encountered:
I built on Raspberry Pi 4 with Raspberry OS (Debian 12).
The version of ffmpeg is:
When I build my program, I got error:
But it worked on x86 fedora 40
The text was updated successfully, but these errors were encountered: