From 8211e0aadd003c6b02c6f7e8efc9f3930eb9d502 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 6 Jun 2020 09:42:41 +0200 Subject: [PATCH] cinepakenc: replace missed instance of key_int with the constant --- nihav-commonfmt/src/codecs/cinepakenc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.30.2