rename "str" variable to avoid confusion with the primitive type
[nihav.git] / nihav-itu / src / codecs / h264 / mod.rs
index 220ed9c6ed9e2b788287953a09dd87e494586656..270a9899cf76ca11fb029aaeb1d3299ca11a54ed 100644 (file)
@@ -944,7 +944,6 @@ impl NADecoder for H264Decoder {
 
             Ok(())
         } else {
-println!("???");
             Err(DecoderError::InvalidData)
         }
     }
@@ -1073,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;
                             }
                         },