From bb57a3442aef85dd9ebbdbd60e47f58dc957e8c3 Mon Sep 17 00:00:00 2001 From: meh Date: Fri, 15 Apr 2016 18:51:07 +0200 Subject: [PATCH] avcodec: remove version check for bit_rate size --- sys/src/avcodec/codec.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/src/avcodec/codec.rs b/sys/src/avcodec/codec.rs index 26c333a..3d300b3 100644 --- a/sys/src/avcodec/codec.rs +++ b/sys/src/avcodec/codec.rs @@ -932,10 +932,6 @@ pub struct AVCodecContext { pub priv_data: *mut c_void, pub internal: *mut AVCodecInternal, pub opaque: *mut c_void, - // See https://github.com/FFmpeg/FFmpeg/commit/7404f3bdb90e6a5dcb59bc0a091e2c5c038e557d - #[cfg(feature="avcodec_version_greater_than_57_1")] - pub bit_rate: int64_t, - #[cfg(not(feature="avcodec_version_greater_than_57_1"))] pub bit_rate: c_int, pub bit_rate_tolerance: c_int, pub global_quality: c_int,