We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c0bbbf commit 7a0ed76Copy full SHA for 7a0ed76
mp4parse/tests/public.rs
@@ -401,7 +401,7 @@ fn public_audio_tenc() {
401
};
402
assert_eq!(a.codec_type, mp4::CodecType::EncryptedAudio);
403
match a.protection_info.iter().find(|sinf| sinf.tenc.is_some()) {
404
- Some(ref p) => {
+ Some(p) => {
405
assert_eq!(p.original_format, b"mp4a");
406
if let Some(ref schm) = p.scheme_type {
407
assert_eq!(schm.scheme_type, b"cenc");
@@ -459,7 +459,7 @@ fn public_video_cenc() {
459
460
assert_eq!(v.codec_type, mp4::CodecType::EncryptedVideo);
461
match v.protection_info.iter().find(|sinf| sinf.tenc.is_some()) {
462
463
assert_eq!(p.original_format, b"avc1");
464
465
0 commit comments