use ffi::*;
use libc::c_int;

bitflags! {
    #[derive(Copy, Clone, Debug, PartialEq, Eq)]
    pub struct Check: c_int {
        const CRC      = AV_EF_CRCCHECK;
        const BITSTREAM = AV_EF_BITSTREAM;
        const BUFFER   = AV_EF_BUFFER;
        const EXPLODE  = AV_EF_EXPLODE;

        const IGNORE_ERROR = AV_EF_IGNORE_ERR;
        const CAREFUL      = AV_EF_CAREFUL;
        const COMPLIANT    = AV_EF_COMPLIANT;
        const AGGRESSIVE   = AV_EF_AGGRESSIVE;
    }
}
