test: fix ncm test

This commit is contained in:
鲁树人 2024-09-14 16:17:53 +01:00
parent 208461e089
commit 10a491fa4b

View File

@ -218,7 +218,7 @@ fn test_load_ncm() -> Result<(), Error> {
assert_eq!(ncm.image2, Some(b"IMAGE#2".to_vec()));
let mut audio_data = ncm_header[ncm.audio_data_offset..].to_vec();
ncm.decrypt(&mut audio_data, 0)?;
ncm.decrypt(&mut audio_data, 0);
let actual = vec![
0x49, 0x44, 0x33, 0x03, 0x00, 0x00, 0x00, 0x00, 0x01, 0x73, 0x54, 0x50, 0x45, 0x31, 0x00,
];