Skip to content

Commit

Permalink
*: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
meh committed Feb 19, 2017
1 parent 575b440 commit b485211
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ software-scaling = ["ffmpeg-sys/swscale", "codec"]

[dependencies]
libc = "0.2"
bitflags = "0.7"
bitflags = "0.8"

[dependencies.image]
version = "0.12"
Expand Down
2 changes: 1 addition & 1 deletion src/codec/capabilities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use libc::c_uint;
use ffi::*;

bitflags! {
flags Capabilities: c_uint {
pub flags Capabilities: c_uint {
const DRAW_HORIZ_BAND = AV_CODEC_CAP_DRAW_HORIZ_BAND,
const DR1 = AV_CODEC_CAP_DR1,
const TRUNCATED = AV_CODEC_CAP_TRUNCATED,
Expand Down
2 changes: 1 addition & 1 deletion src/codec/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use libc::c_int;
use ffi::*;

bitflags! {
flags Debug: c_int {
pub flags Debug: c_int {
const PICT_INFO = FF_DEBUG_PICT_INFO,
const RC = FF_DEBUG_RC,
const BITSTREAM = FF_DEBUG_BITSTREAM,
Expand Down
2 changes: 1 addition & 1 deletion src/codec/decoder/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use libc::c_int;
use ffi::*;

bitflags! {
flags Check: c_int {
pub flags Check: c_int {
const CRC = AV_EF_CRCCHECK,
const BISTREAM = AV_EF_BITSTREAM,
const BUFFER = AV_EF_BUFFER,
Expand Down
2 changes: 1 addition & 1 deletion src/codec/decoder/conceal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use libc::c_int;
use ffi::*;

bitflags! {
flags Conceal: c_int {
pub flags Conceal: c_int {
const GUESS_MVS = FF_EC_GUESS_MVS,
const DEBLOCK = FF_EC_DEBLOCK,
const FAVOR_INTER = FF_EC_FAVOR_INTER,
Expand Down
2 changes: 1 addition & 1 deletion src/codec/decoder/slice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use libc::c_int;
use ffi::*;

bitflags! {
flags Flags: c_int {
pub flags Flags: c_int {
const CODED_ORDER = SLICE_FLAG_CODED_ORDER,
const ALLOW_FIELD = SLICE_FLAG_ALLOW_FIELD,
const ALLOW_PLANE = SLICE_FLAG_ALLOW_PLANE,
Expand Down
2 changes: 1 addition & 1 deletion src/codec/flag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use libc::c_uint;
use ffi::*;

bitflags! {
flags Flags: c_uint {
pub flags Flags: c_uint {
const UNALIGNED = AV_CODEC_FLAG_UNALIGNED,
const QSCALE = AV_CODEC_FLAG_QSCALE,
const _4MV = AV_CODEC_FLAG_4MV,
Expand Down
2 changes: 1 addition & 1 deletion src/codec/packet/flag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use libc::c_int;
use ffi::*;

bitflags! {
flags Flags: c_int {
pub flags Flags: c_int {
const KEY = AV_PKT_FLAG_KEY,
const CORRUPT = AV_PKT_FLAG_CORRUPT,
}
Expand Down
2 changes: 1 addition & 1 deletion src/codec/subtitle/flag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use libc::c_int;
use ffi::*;

bitflags! {
flags Flags: c_int {
pub flags Flags: c_int {
const FORCED = AV_SUBTITLE_FLAG_FORCED,
}
}
2 changes: 1 addition & 1 deletion src/filter/flag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use libc::c_int;
use ffi::*;

bitflags! {
flags Flags: c_int {
pub flags Flags: c_int {
const DYNAMIC_INPUTS = AVFILTER_FLAG_DYNAMIC_INPUTS,
const DYNAMIC_OUTPUTS = AVFILTER_FLAG_DYNAMIC_OUTPUTS,
const SLICE_THREADS = AVFILTER_FLAG_SLICE_THREADS,
Expand Down
2 changes: 1 addition & 1 deletion src/format/format/flag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use libc::c_int;
use ffi::*;

bitflags! {
flags Flags: c_int {
pub flags Flags: c_int {
const NO_FILE = AVFMT_NOFILE,
const NEED_NUMBER = AVFMT_NEEDNUMBER,
const SHOW_IDS = AVFMT_SHOW_IDS,
Expand Down
2 changes: 1 addition & 1 deletion src/format/stream/disposition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use libc::c_int;
use ffi::*;

bitflags! {
flags Disposition: c_int {
pub flags Disposition: c_int {
const DEFAULT = AV_DISPOSITION_DEFAULT,
const DUB = AV_DISPOSITION_DUB,
const ORIGINAL = AV_DISPOSITION_ORIGINAL,
Expand Down
2 changes: 1 addition & 1 deletion src/software/resampling/flag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use libc::c_int;
use ffi::*;

bitflags! {
flags Flags: c_int {
pub flags Flags: c_int {
const FORCE = SWR_FLAG_RESAMPLE,
}
}
2 changes: 1 addition & 1 deletion src/software/scaling/capability.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use libc::c_uint;
use ffi::*;

bitflags! {
flags Capabilities: c_uint {
pub flags Capabilities: c_uint {
const MMX = SWS_CPU_CAPS_MMX,
const MMXEXT = SWS_CPU_CAPS_MMXEXT,
const MMX2 = SWS_CPU_CAPS_MMX2,
Expand Down
2 changes: 1 addition & 1 deletion src/software/scaling/flag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use libc::c_int;
use ffi::*;

bitflags! {
flags Flags: c_int {
pub flags Flags: c_int {
const FAST_BILINEAR = SWS_FAST_BILINEAR,
const BILINEAR = SWS_BILINEAR,
const BICUBIC = SWS_BICUBIC,
Expand Down
2 changes: 1 addition & 1 deletion src/util/channel_layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use libc::c_ulonglong;
use ffi::*;

bitflags! {
flags ChannelLayout: c_ulonglong {
pub flags ChannelLayout: c_ulonglong {
const FRONT_LEFT = AV_CH_FRONT_LEFT,
const FRONT_RIGHT = AV_CH_FRONT_RIGHT,
const FRONT_CENTER = AV_CH_FRONT_CENTER,
Expand Down
2 changes: 1 addition & 1 deletion src/util/frame/flag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use libc::c_int;
use ffi::*;

bitflags! {
flags Flags: c_int {
pub flags Flags: c_int {
const CORRUPT = AV_FRAME_FLAG_CORRUPT,
}
}

0 comments on commit b485211

Please sign in to comment.