util/frame/flag: change flags API style

This commit is contained in:
meh
2015-05-28 18:15:14 +02:00
parent 93ca75f6cb
commit c7f0b15fdc
2 changed files with 13 additions and 8 deletions

8
src/util/frame/flag.rs Normal file
View File

@ -0,0 +1,8 @@
use libc::c_int;
use ffi::*;
bitflags! {
flags Flags: c_int {
const CORRUPT = AV_FRAME_FLAG_CORRUPT,
}
}