From: Kostya Shishkov Date: Sat, 6 Jun 2020 07:42:41 +0000 (+0200) Subject: cinepakenc: replace missed instance of key_int with the constant X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=8211e0aadd003c6b02c6f7e8efc9f3930eb9d502;p=nihav.git cinepakenc: replace missed instance of key_int with the constant --- diff --git a/nihav-commonfmt/src/codecs/cinepakenc.rs b/nihav-commonfmt/src/codecs/cinepakenc.rs index c05b86d..f0a2805 100644 --- a/nihav-commonfmt/src/codecs/cinepakenc.rs +++ b/nihav-commonfmt/src/codecs/cinepakenc.rs @@ -1029,7 +1029,7 @@ impl NAOptionHandler for CinepakEncoder { } fn query_option_value(&self, name: &str) -> Option { match name { - "key_int" => Some(NAValue::Int(i64::from(self.key_int))), + KEYFRAME_OPTION => Some(NAValue::Int(i64::from(self.key_int))), "nstrips" => Some(NAValue::Int(self.nstrips as i64)), "quant_mode" => Some(NAValue::String(self.qmode.to_string())), _ => None,