mirror of
https://github.com/encounter/rust-ffmpeg.git
synced 2026-07-10 21:18:39 -07:00
util/channel_layout: add inline attributes
This commit is contained in:
@@ -62,6 +62,7 @@ bitflags! {
|
||||
}
|
||||
|
||||
impl ChannelLayout {
|
||||
#[inline]
|
||||
pub fn channels(&self) -> i32 {
|
||||
unsafe {
|
||||
av_get_channel_layout_nb_channels(self.bits())
|
||||
|
||||
Reference in New Issue
Block a user