From 225d80200595cfc07565c70026b7c626e10dd5a6 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Tue, 24 Nov 2015 19:48:08 +0100 Subject: [PATCH] Remove an useless MP42File save option. --- MP42/MP42File.h | 1 - MP42/MP42File.m | 6 ------ 2 files changed, 7 deletions(-) diff --git a/MP42/MP42File.h b/MP42/MP42File.h index ae23c41..eb42bd9 100644 --- a/MP42/MP42File.h +++ b/MP42/MP42File.h @@ -25,7 +25,6 @@ extern NSString * const MP4264BitData; extern NSString * const MP4264BitTime; extern NSString * const MP42GenerateChaptersPreviewTrack; extern NSString * const MP42CustomChaptersPreviewTrack; -extern NSString * const MP42OrganizeAlternateGroups; /** * MP42Status diff --git a/MP42/MP42File.m b/MP42/MP42File.m index 5fdefd0..3223958 100644 --- a/MP42/MP42File.m +++ b/MP42/MP42File.m @@ -23,7 +23,6 @@ NSString * const MP4264BitData = @"MP4264BitData"; NSString * const MP4264BitTime = @"MP4264BitTime"; NSString * const MP42GenerateChaptersPreviewTrack = @"MP42ChaptersPreview"; NSString * const MP42CustomChaptersPreviewTrack = @"MP42CustomChaptersPreview"; -NSString * const MP42OrganizeAlternateGroups = @"MP42AlternateGroups"; static id _logger = nil; @@ -714,11 +713,6 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) { - (BOOL)updateMP4FileWithOptions:(nullable NSDictionary *)options error:(NSError **)outError { - // Organize the alternate groups - if ([options[MP42OrganizeAlternateGroups] boolValue]) { - [self organizeAlternateGroups]; - } - // Open the mp4 file if (![self startWriting]) { if (outError) {