Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2023-07-11 10:09:35 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-07-11 10:09:35 +0300
commitbbd3d9ffe04081f0ac8d44374dd123fe301dd310 (patch)
tree50bfe943d8aa56440feb95e12226bfb09fbbc763 /audio/lewton
parentc2201480cfb31952017f2d69f10761b7e6ba0af1 (diff)
Remove unnecessary `mut` everywhere
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1273>
Diffstat (limited to 'audio/lewton')
-rw-r--r--audio/lewton/src/lewtondec/imp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/lewton/src/lewtondec/imp.rs b/audio/lewton/src/lewtondec/imp.rs
index ae8d81ffd..77851075c 100644
--- a/audio/lewton/src/lewtondec/imp.rs
+++ b/audio/lewton/src/lewtondec/imp.rs
@@ -132,7 +132,7 @@ impl AudioDecoderImpl for LewtonDec {
reorder_map: None,
});
- let mut state = state_guard.as_mut().unwrap();
+ let state = state_guard.as_mut().unwrap();
let s = caps.structure(0).unwrap();
if let Ok(Some(streamheaders)) = s.get_optional::<gst::ArrayRef>("streamheader") {