浏览代码

VLCMediaPlayer: compilation fix

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Pierre SAGASPE 10 年之前
父节点
当前提交
a8d50b6748
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Sources/VLCMediaPlayer.m

+ 1 - 1
Sources/VLCMediaPlayer.m

@@ -743,7 +743,7 @@ static void HandleMediaPlayerMediaChanged(const libvlc_event_t * event, void * s
         return [NSArray array];
     }
 
-    NSMutableArray *array = [[NSMutableArray alloc] initWithCapacity:numberOfChapterDescriptions];
+    NSMutableArray *array = [[NSMutableArray alloc] initWithCapacity:numberOfTitleDescriptions];
 
     for (int i = 0; i < numberOfTitleDescriptions; i++) {
         NSMutableDictionary *dictionary = [NSMutableDictionary dictionaryWithObjectsAndKeys: