Explorar o código

media player: remove unneeded allocation

Felix Paul Kühne %!s(int64=9) %!d(string=hai) anos
pai
achega
02eaf7f935
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      Sources/VLCMediaPlayer.m

+ 0 - 3
Sources/VLCMediaPlayer.m

@@ -223,9 +223,6 @@ static void HandleMediaPlayerSnapshot(const libvlc_event_t * event, void * self)
         _cachedRemainingTime = [VLCTime nullTime];
         _position = 0.0f;
         _cachedState = VLCMediaPlayerStateStopped;
-#if TARGET_OS_IPHONE
-        _snapshots = [NSMutableArray array];
-#endif
 
         _privateLibrary = library;
         libvlc_retain([_privateLibrary instance]);