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:
Diffstat (limited to 'src/rsfilesrc.rs')
-rw-r--r--src/rsfilesrc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rsfilesrc.rs b/src/rsfilesrc.rs
index dc07d2ce0..3bfacb8be 100644
--- a/src/rsfilesrc.rs
+++ b/src/rsfilesrc.rs
@@ -124,7 +124,7 @@ impl Source for FileSrc {
}
let size = {
- let map = match buffer.map_readwrite() {
+ let mut map = match buffer.map_readwrite() {
None => {
return Err(FlowError::Error(error_msg!(SourceError::Failure,
["Failed to map buffer"])));