Przeglądaj źródła

VLCMediaPlayer: compilation fix

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Pierre SAGASPE 10 lat temu
rodzic
commit
a8d50b6748
1 zmienionych plików z 1 dodań i 1 usunięć
  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: