Pārlūkot izejas kodu

VLCMediaPlayer: compilation fix

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Pierre SAGASPE 10 gadi atpakaļ
vecāks
revīzija
a8d50b6748
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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: