Fix minor clippy lints
This commit is contained in:
parent
6b0e648959
commit
5a1246553f
@ -15,6 +15,12 @@ impl ChannelLayoutIter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Default for ChannelLayoutIter {
|
||||||
|
fn default() -> Self {
|
||||||
|
Self::new()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
impl Iterator for ChannelLayoutIter {
|
impl Iterator for ChannelLayoutIter {
|
||||||
type Item = ChannelLayout<'static>;
|
type Item = ChannelLayout<'static>;
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ use crate::ffi::*;
|
|||||||
use libc::c_ulonglong;
|
use libc::c_ulonglong;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[derive(Eq, PartialEq, Copy, Clone)]
|
#[derive(Eq, PartialEq, Copy, Clone, Debug)]
|
||||||
pub struct ChannelLayoutMask: c_ulonglong {
|
pub struct ChannelLayoutMask: c_ulonglong {
|
||||||
const FRONT_LEFT = AV_CH_FRONT_LEFT;
|
const FRONT_LEFT = AV_CH_FRONT_LEFT;
|
||||||
const FRONT_RIGHT = AV_CH_FRONT_RIGHT;
|
const FRONT_RIGHT = AV_CH_FRONT_RIGHT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user