mirror of
https://github.com/rustdesk/magnum-opus.git
synced 2026-02-16 02:20:47 +00:00
f522a8a15585c22c4c09096bbe5c5da2ed9f540b
Rather than relying on `as c_int` to do the right thing, check explicitly that a negative or truncated value is not being created.
opus-rs

Safe Rust bindings for libopus. The rustdoc (available through cargo doc)
includes brief descriptions for methods, and detailed API information can be
found at the libopus documentation.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Description
Languages
Rust
99.9%