Revert 8199541 and guard with not(ffmpeg4)

This commit is contained in:
Zhiming Wang
2018-09-19 20:44:35 +00:00
parent 0e05c0bb29
commit a7eee9142f
5 changed files with 31 additions and 0 deletions

View File

@ -6,6 +6,8 @@ bitflags! {
const NO_FILE = AVFMT_NOFILE;
const NEED_NUMBER = AVFMT_NEEDNUMBER;
const SHOW_IDS = AVFMT_SHOW_IDS;
#[cfg(not(feature = "ffmpeg4"))]
const RAW_PICTURE = AVFMT_RAWPICTURE;
const GLOBAL_HEADER = AVFMT_GLOBALHEADER;
const NO_TIMESTAMPS = AVFMT_NOTIMESTAMPS;
const GENERIC_INDEX = AVFMT_GENERIC_INDEX;