mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-23 17:38:20 +00:00
sodiumdecrypter: Fix some typos
This commit is contained in:
parent
e7194e8f25
commit
9c0e01a330
1 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@ impl State {
|
||||||
|
|
||||||
// Split the buffer into N(`chunk_index`) chunks of `block_size`,
|
// Split the buffer into N(`chunk_index`) chunks of `block_size`,
|
||||||
// decrypt them, and push them to the internal adapter for further
|
// decrypt them, and push them to the internal adapter for further
|
||||||
// retreval
|
// retrieval
|
||||||
fn decrypt_into_adapter(
|
fn decrypt_into_adapter(
|
||||||
&mut self,
|
&mut self,
|
||||||
element: &gst::Element,
|
element: &gst::Element,
|
||||||
|
@ -414,7 +414,7 @@ impl Decrypter {
|
||||||
|
|
||||||
let sodium_header_slice = &map[..crate::TYPEFIND_HEADER_SIZE];
|
let sodium_header_slice = &map[..crate::TYPEFIND_HEADER_SIZE];
|
||||||
if sodium_header_slice != crate::TYPEFIND_HEADER {
|
if sodium_header_slice != crate::TYPEFIND_HEADER {
|
||||||
let err = gst_loggable_error!(CAT, "Buffer has wrong tyfefind header");
|
let err = gst_loggable_error!(CAT, "Buffer has wrong typefind header");
|
||||||
err.log_with_object(element);
|
err.log_with_object(element);
|
||||||
return Err(err);
|
return Err(err);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue