rename "str" variable to avoid confusion with the primitive type
[nihav.git] / nihav-itu / src / codecs / h264 / mod.rs
index e8d46c60c982fc20b7fc4904a5b6fb63d83dcf11..270a9899cf76ca11fb029aaeb1d3299ca11a54ed 100644 (file)
@@ -1072,8 +1072,8 @@ impl NAOptionHandler for H264Decoder {
             for opt_def in DECODER_OPTIONS.iter() {
                 if opt_def.check(option).is_ok() {
                     match (option.name, &option.value) {
-                        (FRAME_SKIP_OPTION, NAValue::String(ref str)) => {
-                            if let Ok(smode) = FrameSkipMode::from_str(str) {
+                        (FRAME_SKIP_OPTION, NAValue::String(ref strval)) => {
+                            if let Ok(smode) = FrameSkipMode::from_str(strval) {
                                 self.skip_mode = smode;
                             }
                         },