format/stream: make Disposition a c_int for compatibility

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

View File

@ -7,7 +7,7 @@ use ::codec::{self, packet};
use ::{Rational, Discard}; use ::{Rational, Discard};
bitflags! { bitflags! {
flags Disposition: i32 { flags Disposition: c_int {
const DISPOSITION_DEFAULT = AV_DISPOSITION_DEFAULT, const DISPOSITION_DEFAULT = AV_DISPOSITION_DEFAULT,
const DISPOSITION_DUB = AV_DISPOSITION_DUB, const DISPOSITION_DUB = AV_DISPOSITION_DUB,
const DISPOSITION_ORIGINAL = AV_DISPOSITION_ORIGINAL, const DISPOSITION_ORIGINAL = AV_DISPOSITION_ORIGINAL,