Skip to content

Commit 7a0ed76

Browse files
committed
1 parent 0c0bbbf commit 7a0ed76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mp4parse/tests/public.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ fn public_audio_tenc() {
401401
};
402402
assert_eq!(a.codec_type, mp4::CodecType::EncryptedAudio);
403403
match a.protection_info.iter().find(|sinf| sinf.tenc.is_some()) {
404-
Some(ref p) => {
404+
Some(p) => {
405405
assert_eq!(p.original_format, b"mp4a");
406406
if let Some(ref schm) = p.scheme_type {
407407
assert_eq!(schm.scheme_type, b"cenc");
@@ -459,7 +459,7 @@ fn public_video_cenc() {
459459
};
460460
assert_eq!(v.codec_type, mp4::CodecType::EncryptedVideo);
461461
match v.protection_info.iter().find(|sinf| sinf.tenc.is_some()) {
462-
Some(ref p) => {
462+
Some(p) => {
463463
assert_eq!(p.original_format, b"avc1");
464464
if let Some(ref schm) = p.scheme_type {
465465
assert_eq!(schm.scheme_type, b"cenc");

0 commit comments

Comments
 (0)