codec/subtitle: make Flags a c_int for compatibility

This commit is contained in:
meh 2015-05-16 17:27:02 +02:00
parent 58240987d6
commit fbf4bb8f73

View File

@ -4,13 +4,13 @@ use std::ffi::CStr;
use std::str::from_utf8_unchecked; use std::str::from_utf8_unchecked;
use std::ops::Deref; use std::ops::Deref;
use libc::{c_uint, uint32_t, int64_t}; use libc::{c_int, c_uint, uint32_t, int64_t};
use ffi::*; use ffi::*;
use ::format; use ::format;
use ::Picture; use ::Picture;
bitflags! { bitflags! {
flags Flags: i32 { flags Flags: c_int {
const FLAG_FORCED = AV_SUBTITLE_FLAG_FORCED, const FLAG_FORCED = AV_SUBTITLE_FLAG_FORCED,
} }
} }