From 956d175f23d91205387500707a2d4b6af3f9f42c Mon Sep 17 00:00:00 2001 From: Sludge <96552222+SludgePhD@users.noreply.github.com> Date: Thu, 25 Jul 2024 22:43:04 +0200 Subject: [PATCH] silence warnings --- src/surface.rs | 1 + src/vpp.rs | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/surface.rs b/src/surface.rs index 56d5138..d29fe74 100644 --- a/src/surface.rs +++ b/src/surface.rs @@ -199,6 +199,7 @@ ffi_enum! { } } +#[allow(dead_code)] #[repr(C)] pub struct SurfaceDecodeMBErrors { status: i32, diff --git a/src/vpp.rs b/src/vpp.rs index b5dca35..0846f29 100644 --- a/src/vpp.rs +++ b/src/vpp.rs @@ -541,6 +541,7 @@ impl Filters { } } +#[allow(dead_code)] #[derive(Clone, Copy)] #[repr(C)] pub struct FilterValueRange { @@ -560,12 +561,14 @@ pub struct BlendState { max_luma: f32, } +#[allow(dead_code)] #[derive(Clone, Copy)] #[repr(C)] pub struct FilterParameterBufferBase { type_: FilterType, } +#[allow(dead_code)] #[derive(Clone, Copy)] #[repr(C)] pub struct FilterParameterBuffer {