We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed2ea0 commit b2d60fdCopy full SHA for b2d60fd
cbits/defs.c
@@ -62,4 +62,7 @@ int SYS_AVERROR_PROTOCOL_NOT_FOUND() {
62
}
63
int SYS_AVERROR_STREAM_NOT_FOUND() {
64
return AVERROR_STREAM_NOT_FOUND;
65
+}
66
+size_t SYS_FFMIN(size_t a, size_t b) {
67
+ return FFMIN(a, b);
68
src/extra/defs.rs
@@ -45,4 +45,6 @@ extern "C" {
45
pub fn averror_protocol_not_found() -> c_int;
46
#[link_name = "SYS_AVERROR_STREAM_NOT_FOUND"]
47
pub fn averror_stream_not_found() -> c_int;
48
+ #[link_name = "SYS_FFMIN"]
49
+ pub fn sys_ffmin(a: usize, b: usize) -> usize;
50
0 commit comments