@@ -154,7 +154,7 @@ impl NSCopyingProtocol for AVAsset {
154
154
}
155
155
impl ValidObjCGeneric for AVAsset { }
156
156
157
- impl IsKindOf < NSObject > for AVAsset { }
157
+ unsafe impl IsKindOf < NSObject > for AVAsset { }
158
158
159
159
// AVAsset should be mostly fine to use from multiple threads at the same time.
160
160
unsafe impl Send for AVAsset { }
@@ -236,8 +236,8 @@ impl NSCopyingProtocol for AVURLAsset {
236
236
}
237
237
impl ValidObjCGeneric for AVURLAsset { }
238
238
239
- impl IsKindOf < NSObject > for AVURLAsset { }
240
- impl IsKindOf < AVAsset > for AVURLAsset { }
239
+ unsafe impl IsKindOf < NSObject > for AVURLAsset { }
240
+ unsafe impl IsKindOf < AVAsset > for AVURLAsset { }
241
241
242
242
// AVAsset should be mostly fine to use from multiple threads at the same time.
243
243
unsafe impl Send for AVURLAsset { }
@@ -420,7 +420,7 @@ impl NSCopyingProtocol for AVAssetTrack {
420
420
}
421
421
impl ValidObjCGeneric for AVAssetTrack { }
422
422
423
- impl IsKindOf < NSObject > for AVAssetTrack { }
423
+ unsafe impl IsKindOf < NSObject > for AVAssetTrack { }
424
424
425
425
//-------------------------------------------------------------------
426
426
// AVAssetReader
@@ -476,7 +476,7 @@ impl NSObjectInterface for AVAssetReader {}
476
476
impl AVAssetReaderInterface for AVAssetReader { }
477
477
impl ValidObjCGeneric for AVAssetReader { }
478
478
479
- impl IsKindOf < NSObject > for AVAssetReader { }
479
+ unsafe impl IsKindOf < NSObject > for AVAssetReader { }
480
480
481
481
//-------------------------------------------------------------------
482
482
// AVAssetReaderTrackOutput
@@ -515,7 +515,7 @@ impl NSObjectInterface for AVAssetReaderTrackOutput {}
515
515
impl AVAssetReaderTrackOutputInterface for AVAssetReaderTrackOutput { }
516
516
impl ValidObjCGeneric for AVAssetReaderTrackOutput { }
517
517
518
- impl IsKindOf < NSObject > for AVAssetReaderTrackOutput { }
518
+ unsafe impl IsKindOf < NSObject > for AVAssetReaderTrackOutput { }
519
519
520
520
//-------------------------------------------------------------------
521
521
// AVAssetReaderOutput
@@ -554,7 +554,7 @@ impl NSObjectInterface for AVAssetReaderOutput {}
554
554
impl AVAssetReaderOutputInterface for AVAssetReaderOutput { }
555
555
impl ValidObjCGeneric for AVAssetReaderOutput { }
556
556
557
- impl IsKindOf < NSObject > for AVAssetReaderOutput { }
557
+ unsafe impl IsKindOf < NSObject > for AVAssetReaderOutput { }
558
558
559
559
//-------------------------------------------------------------------
560
560
// AVAssetReaderSampleReferenceOutput
@@ -594,8 +594,8 @@ impl AVAssetReaderOutputInterface for AVAssetReaderSampleReferenceOutput {}
594
594
impl AVAssetReaderSampleReferenceOutputInterface for AVAssetReaderSampleReferenceOutput { }
595
595
impl ValidObjCGeneric for AVAssetReaderSampleReferenceOutput { }
596
596
597
- impl IsKindOf < NSObject > for AVAssetReaderSampleReferenceOutput { }
598
- impl IsKindOf < AVAssetReaderOutput > for AVAssetReaderSampleReferenceOutput { }
597
+ unsafe impl IsKindOf < NSObject > for AVAssetReaderSampleReferenceOutput { }
598
+ unsafe impl IsKindOf < AVAssetReaderOutput > for AVAssetReaderSampleReferenceOutput { }
599
599
600
600
//-------------------------------------------------------------------
601
601
// AVPlayerItem
@@ -684,7 +684,7 @@ impl NSCopyingProtocol for AVPlayerItem {
684
684
}
685
685
impl ValidObjCGeneric for AVPlayerItem { }
686
686
687
- impl IsKindOf < NSObject > for AVPlayerItem { }
687
+ unsafe impl IsKindOf < NSObject > for AVPlayerItem { }
688
688
689
689
//-------------------------------------------------------------------
690
690
// AVPlayer
@@ -798,7 +798,7 @@ impl AVAssetReaderOutputInterface for AVPlayer {}
798
798
impl AVPlayerInterface for AVPlayer { }
799
799
impl ValidObjCGeneric for AVPlayer { }
800
800
801
- impl IsKindOf < NSObject > for AVPlayer { }
801
+ unsafe impl IsKindOf < NSObject > for AVPlayer { }
802
802
803
803
//-------------------------------------------------------------------
804
804
// AVAudioPlayer
@@ -879,4 +879,4 @@ impl AVAssetReaderOutputInterface for AVAudioPlayer {}
879
879
impl AVAudioPlayerInterface for AVAudioPlayer { }
880
880
impl ValidObjCGeneric for AVAudioPlayer { }
881
881
882
- impl IsKindOf < NSObject > for AVAudioPlayer { }
882
+ unsafe impl IsKindOf < NSObject > for AVAudioPlayer { }
0 commit comments