Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix build

Brendan Allan60b7c99da036
diff --git a/crates/rendering/src/decoder.rs b/crates/rendering/src/decoder.rs
index 2b3600ab2..ddc37606d 100644
--- a/crates/rendering/src/decoder.rs
+++ b/crates/rendering/src/decoder.rs
@@ -472,7 +472,7 @@ mod macos {
)
};
- let bytes = Vec::with_capacity(width * height * 4);
+ let mut bytes = Vec::with_capacity(width * height * 4);
let row_length = width * 4;