mirror of
https://git.um-react.app/um/lib_um_crypto_rust.git
synced 2026-03-08 04:29:54 +00:00
fix: reduce sync frame test length
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
pub const SYNC_FRAME_TEST_SIZE: usize = 4096;
|
||||
pub const SYNC_FRAME_TEST_SIZE: usize = 0xff;
|
||||
|
||||
pub fn is_mp3(magic: u32) -> bool {
|
||||
// Frame sync should have the first 11 bits set to 1.
|
||||
|
||||
Reference in New Issue
Block a user