rename "str" variable to avoid confusion with the primitive type
[nihav.git] / nihav-commonfmt / src / codecs / cinepakenc.rs
index 604bc87400e8386f7b83bf5223c3cbb4e0d38bb8..c6af8f61cdd9f71e55ef72a0e1cedf215d10ebc1 100644 (file)
@@ -1053,8 +1053,8 @@ impl NAOptionHandler for CinepakEncoder {
                             }
                         },
                         "quant_mode" => {
-                            if let NAValue::String(ref str) = option.value {
-                                match str.as_str() {
+                            if let NAValue::String(ref strval) = option.value {
+                                match strval.as_str() {
                                     "elbg"      => self.qmode = QuantMode::ELBG,
                                     "hybrid"    => self.qmode = QuantMode::Hybrid,
                                     "mediancut" => self.qmode = QuantMode::MedianCut,