Make a MP42Chapter method clearer

This commit is contained in:
Damiano Galassi committed 2025-07-25 17:35:42 +02:00
1 parent 47aadecfff
commit f104a7c69a
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -118,7 +118,7 @@ MP42_OBJC_DIRECT_MEMBERS
return [_chapters indexOfObject:chapter];
}
- (NSUInteger)addChapter:(NSString *)title duration:(uint64_t)timestamp
- (NSUInteger)addChapter:(NSString *)title timestamp:(uint64_t)timestamp
{
MP42TextSample *newChapter = [[MP42TextSample alloc] init];
newChapter.title = title;