diff --git a/src/util/picture.rs b/src/util/picture.rs index 0e5b96e..ddd8d02 100644 --- a/src/util/picture.rs +++ b/src/util/picture.rs @@ -13,6 +13,7 @@ pub enum Type { } impl From for Type { + #[inline(always)] fn from(value: AVPictureType) -> Type { match value { AV_PICTURE_TYPE_NONE => Type::None, @@ -28,6 +29,7 @@ impl From for Type { } impl Into for Type { + #[inline(always)] fn into(self) -> AVPictureType { match self { Type::None => AV_PICTURE_TYPE_NONE,