浏览代码

media player: remove unneeded allocation

Felix Paul Kühne 9 年之前
父节点
当前提交
02eaf7f935
共有 1 个文件被更改,包括 0 次插入3 次删除
  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]);