File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ fn public_audio_tenc() {
401
401
} ;
402
402
assert_eq ! ( a. codec_type, mp4:: CodecType :: EncryptedAudio ) ;
403
403
match a. protection_info . iter ( ) . find ( |sinf| sinf. tenc . is_some ( ) ) {
404
- Some ( ref p) => {
404
+ Some ( p) => {
405
405
assert_eq ! ( p. original_format, b"mp4a" ) ;
406
406
if let Some ( ref schm) = p. scheme_type {
407
407
assert_eq ! ( schm. scheme_type, b"cenc" ) ;
@@ -459,7 +459,7 @@ fn public_video_cenc() {
459
459
} ;
460
460
assert_eq ! ( v. codec_type, mp4:: CodecType :: EncryptedVideo ) ;
461
461
match v. protection_info . iter ( ) . find ( |sinf| sinf. tenc . is_some ( ) ) {
462
- Some ( ref p) => {
462
+ Some ( p) => {
463
463
assert_eq ! ( p. original_format, b"avc1" ) ;
464
464
if let Some ( ref schm) = p. scheme_type {
465
465
assert_eq ! ( schm. scheme_type, b"cenc" ) ;
You can’t perform that action at this time.
0 commit comments