util/frame/flag: change flags API style
This commit is contained in:
8
src/util/frame/flag.rs
Normal file
8
src/util/frame/flag.rs
Normal file
@ -0,0 +1,8 @@
|
||||
use libc::c_int;
|
||||
use ffi::*;
|
||||
|
||||
bitflags! {
|
||||
flags Flags: c_int {
|
||||
const CORRUPT = AV_FRAME_FLAG_CORRUPT,
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user