diff --git a/ffmpeg-sys-the-third/build.rs b/ffmpeg-sys-the-third/build.rs index ecf3d9c..fce8cce 100644 --- a/ffmpeg-sys-the-third/build.rs +++ b/ffmpeg-sys-the-third/build.rs @@ -80,10 +80,7 @@ impl ParseCallbacks for Callbacks { let codec_flag_prefix = "AV_CODEC_FLAG_"; let error_max_size = "AV_ERROR_MAX_STRING_SIZE"; - if value >= i64::min_value() as i64 - && value <= i64::max_value() as i64 - && _name.starts_with(ch_layout_prefix) - { + if _name.starts_with(ch_layout_prefix) { Some(IntKind::ULongLong) } else if value >= i32::min_value() as i64 && value <= i32::max_value() as i64 @@ -632,7 +629,7 @@ fn maybe_search_include(include_paths: &[PathBuf], header: &str) -> Option