From b841840561b92c940ccde55e6f7025361872d1ce Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Wed, 31 Aug 2016 14:42:14 +0200 Subject: [PATCH] Use ARC where possible. --- MP42/MP42AudioTrack.m | 9 +- MP42/MP42ChapterTrack.m | 26 ++---- MP42/MP42ClosedCaptionTrack.m | 5 -- MP42/MP42EditListsReconstructor.m | 8 -- MP42/MP42HtmlParser.m | 19 +---- MP42/MP42Languages.m | 6 +- MP42/MP42OCRWrapper.mm | 2 - MP42/MP42Ratings.m | 84 +++++++++---------- MP42/MP42Sample.m | 1 - MP42/MP42SubUtilities.m | 45 ++++------ MP42/MP42SubtitleTrack.m | 13 +-- MP42/MP42XMLReader.m | 10 +-- MP42Foundation.xcodeproj/project.pbxproj | 102 +++++++++++------------ 13 files changed, 123 insertions(+), 207 deletions(-) diff --git a/MP42/MP42AudioTrack.m b/MP42/MP42AudioTrack.m index bea0dd9..c2f9969 100644 --- a/MP42/MP42AudioTrack.m +++ b/MP42/MP42AudioTrack.m @@ -197,13 +197,6 @@ extern u_int8_t MP4AV_AacConfigGetChannels(u_int8_t* pConfig); return (_trackId > 0); } -- (void)dealloc -{ - [_mixdownType release]; - - [super dealloc]; -} - - (void)setVolume:(float)newVolume { _volume = newVolume; @@ -280,7 +273,7 @@ extern u_int8_t MP4AV_AacConfigGetChannels(u_int8_t* pConfig); _fallbackTrackId = [decoder decodeInt64ForKey:@"fallbackTrackId"]; - _mixdownType = [[decoder decodeObjectOfClass:[NSString class] forKey:@"mixdownType"] retain]; + _mixdownType = [decoder decodeObjectOfClass:[NSString class] forKey:@"mixdownType"]; return self; } diff --git a/MP42/MP42ChapterTrack.m b/MP42/MP42ChapterTrack.m index b218de1..96f4c00 100644 --- a/MP42/MP42ChapterTrack.m +++ b/MP42/MP42ChapterTrack.m @@ -59,9 +59,9 @@ char *title = chapter_list[i-1].title; if ((title[0] == '\xfe' && title[1] == '\xff') || (title[0] == '\xff' && title[1] == '\xfe')) { - chapter.title = [[[NSString alloc] initWithBytes:title - length:chapter_list[i-1].titleLength - encoding:NSUTF16StringEncoding] autorelease]; + chapter.title = [[NSString alloc] initWithBytes:title + length:chapter_list[i-1].titleLength + encoding:NSUTF16StringEncoding]; } else { chapter.title = [NSString stringWithCString:chapter_list[i-1].title encoding: NSUTF8StringEncoding]; } @@ -69,7 +69,6 @@ chapter.timestamp = sum; sum = chapter_list[i-1].duration + sum; [chapters addObject:chapter]; - [chapter release]; i++; } MP4Free(chapter_list); @@ -82,7 +81,7 @@ { if ((self = [super init])) { _format = kMP42SubtitleCodecType_Text; - _sourceURL = [URL retain]; + _sourceURL = URL; _language = @"English"; _isEdited = YES; _muxed = NO; @@ -100,7 +99,7 @@ + (instancetype)chapterTrackFromFile:(NSURL *)URL { - return [[[MP42ChapterTrack alloc] initWithTextFile:URL] autorelease]; + return [[MP42ChapterTrack alloc] initWithTextFile:URL]; } - (NSString *)defaultName { @@ -125,7 +124,6 @@ newChapter.timestamp = timestamp; NSUInteger idx = [self addChapter:newChapter]; - [newChapter release]; return idx; } @@ -137,7 +135,6 @@ newChapter.timestamp = timestamp; NSUInteger idx = [self addChapter:newChapter]; - [newChapter release]; return idx; } @@ -210,7 +207,6 @@ st.timestamp = 0; st.title = @"Chapter 0"; [chapters insertObject:st atIndex:0]; - [st release]; chapterCount++; } @@ -273,7 +269,7 @@ - (BOOL)exportToURL:(NSURL *)url error:(NSError **)error { - NSMutableString* file = [[[NSMutableString alloc] init] autorelease]; + NSMutableString* file = [[NSMutableString alloc] init]; NSUInteger x = 0; for (MP42TextSample * chapter in chapters) { @@ -321,17 +317,13 @@ { self = [super initWithCoder:decoder]; - chapters = [[decoder decodeObjectOfClass:[NSMutableArray class] forKey:@"chapters"] retain]; + if (self) { + chapters = [decoder decodeObjectOfClass:[NSMutableArray class] forKey:@"chapters"]; + } return self; } -- (void)dealloc -{ - [chapters release]; - [super dealloc]; -} - @end @implementation NSArray (CSVAdditions) diff --git a/MP42/MP42ClosedCaptionTrack.m b/MP42/MP42ClosedCaptionTrack.m index 2e6ab21..b674ed1 100644 --- a/MP42/MP42ClosedCaptionTrack.m +++ b/MP42/MP42ClosedCaptionTrack.m @@ -44,9 +44,4 @@ return (_trackId > 0); } -- (void)dealloc -{ - [super dealloc]; -} - @end diff --git a/MP42/MP42EditListsReconstructor.m b/MP42/MP42EditListsReconstructor.m index 6d427fa..efe7b9c 100644 --- a/MP42/MP42EditListsReconstructor.m +++ b/MP42/MP42EditListsReconstructor.m @@ -60,7 +60,6 @@ } - (void)addSample:(MP42SampleBuffer *)sample { - [sample retain]; if (sample->attachments) { // Flush the current queue, because pts time is going to be reset @@ -75,7 +74,6 @@ if ([_priorityQueue isFull]) { MP42SampleBuffer *extractedSample = [_priorityQueue extract]; [self analyzeSample:extractedSample]; - [extractedSample release]; } } @@ -84,7 +82,6 @@ while (!_priorityQueue.isEmpty) { MP42SampleBuffer *extractedSample = [_priorityQueue extract]; [self analyzeSample:extractedSample]; - [extractedSample release]; } if (_editOpen == YES) { @@ -214,9 +211,4 @@ _editOpen = NO; } -- (void)dealloc { - [_priorityQueue release]; - [super dealloc]; -} - @end diff --git a/MP42/MP42HtmlParser.m b/MP42/MP42HtmlParser.m index 547d39e..30e86bf 100644 --- a/MP42/MP42HtmlParser.m +++ b/MP42/MP42HtmlParser.m @@ -186,7 +186,6 @@ int compare_color(rgba_color c1, rgba_color c2) { if (style) { [_styles addObject:style]; - [style release]; } [_text deleteCharactersInRange:contentRange]; @@ -204,7 +203,7 @@ int compare_color(rgba_color c1, rgba_color c2) { currentStyle.length = nextStyle.location - currentStyle.location; if (currentStyle.style || compare_color(currentStyle.color, nextStyle.color)) { if (currentStyle.length) { - [serializedStyles addObject:[[currentStyle copy] autorelease]]; + [serializedStyles addObject:[currentStyle copy]]; } } currentStyle.location = nextStyle.location; @@ -231,25 +230,11 @@ int compare_color(rgba_color c1, rgba_color c2) { if (currentStyle.style || compare_color(currentStyle.color, _defaultColor)) { currentStyle.length = _text.length - currentStyle.location; if (currentStyle.length) { - [serializedStyles addObject:[[currentStyle copy] autorelease]]; + [serializedStyles addObject:[currentStyle copy]]; } } - [currentStyle release]; - [_styles release]; _styles = serializedStyles; } -@synthesize text = _text; -@synthesize styles = _styles; -@synthesize defaultColor = _defaultColor; - -- (void)dealloc -{ - [_text release]; - [_styles release]; - - [super dealloc]; -} - @end diff --git a/MP42/MP42Languages.m b/MP42/MP42Languages.m index 4d025a6..1c3345e 100644 --- a/MP42/MP42Languages.m +++ b/MP42/MP42Languages.m @@ -634,10 +634,9 @@ iso639_lang_t * lang_for_english( const char * english ) [languagesArray insertObject:lang atIndex:0]; } _languagesArray = [languagesArray copy]; - [languagesArray release]; } - return [[_languagesArray copy] autorelease]; + return [_languagesArray copy]; } - (NSArray *)iso6391languages { @@ -656,10 +655,9 @@ iso639_lang_t * lang_for_english( const char * english ) [languagesArray insertObject:lang atIndex:0]; } _iso6391languagesArray = [languagesArray copy]; - [languagesArray release]; } - return [[_iso6391languagesArray copy] autorelease]; + return [_iso6391languagesArray copy]; } + (NSString *)iso6391CodeFor:(NSString *)aLanguage { diff --git a/MP42/MP42OCRWrapper.mm b/MP42/MP42OCRWrapper.mm index 0fecc37..1d3425f 100644 --- a/MP42/MP42OCRWrapper.mm +++ b/MP42/MP42OCRWrapper.mm @@ -144,8 +144,6 @@ protected: OCRWrapper *ocr = (OCRWrapper *)tess_base; ocr->End(); delete ocr; - - [super dealloc]; } @end diff --git a/MP42/MP42Ratings.m b/MP42/MP42Ratings.m index 0efa9f8..6dfe080 100644 --- a/MP42/MP42Ratings.m +++ b/MP42/MP42Ratings.m @@ -15,9 +15,6 @@ NSMutableArray *iTunesCodes; } -@synthesize ratings; -@synthesize iTunesCodes; - + (MP42Ratings *) defaultManager { static dispatch_once_t sharedRatingsPred; static MP42Ratings *sharedRatingsManager = nil; @@ -29,54 +26,18 @@ if (self = [super init]) { NSString *ratingsJSON = [[NSBundle bundleForClass:[MP42Ratings class]] pathForResource:@"Ratings" ofType:@"json"]; if (!ratingsJSON) { - [self release]; return nil; } NSData *data = [NSData dataWithContentsOfFile:ratingsJSON]; if (data) { - ratingsDictionary = [[NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableContainers error:nil] retain]; + ratingsDictionary = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableContainers error:nil]; } else { ratingsDictionary = [[NSMutableArray alloc] init]; } - // construct movie ratings - ratings = [[NSMutableArray alloc] init]; - iTunesCodes = [[NSMutableArray alloc] init]; - - // if a specific country is picked, include the USA ratings at the end - NSString *selectedCountry = [[NSUserDefaults standardUserDefaults] valueForKey:@"SBRatingsCountry"]; - NSDictionary *usaRatings = nil; - - for (NSDictionary *countryRatings in ratingsDictionary) { - NSString *countryName = [countryRatings valueForKey:@"country"]; - - if ([countryName isEqualToString:@"USA"]) { - usaRatings = countryRatings; - } - - if (![selectedCountry isEqualToString:@"All countries"]) { - if (![countryName isEqualToString:@"Unknown"] && ![countryName isEqualToString:selectedCountry]) { - continue; - } - - } - - for (NSDictionary *rating in [countryRatings valueForKey:@"ratings"]) { - [ratings addObject:[NSString stringWithFormat:@"%@ %@: %@", countryName, [rating valueForKey:@"media"], [rating valueForKey:@"description"]]]; - [iTunesCodes addObject:[NSString stringWithFormat:@"%@|%@|%@|", [rating valueForKey:@"prefix"], [rating valueForKey:@"itunes-code"], [rating valueForKey:@"itunes-value"]]]; - } - } - - if (![selectedCountry isEqualToString:@"All countries"] && ![selectedCountry isEqualToString:@"USA"]) { - if (usaRatings) { - for (NSDictionary *rating in [usaRatings valueForKey:@"ratings"]) { - [ratings addObject:[NSString stringWithFormat:@"%@ %@: %@", @"USA", [rating valueForKey:@"media"], [rating valueForKey:@"description"]]]; - [iTunesCodes addObject:[NSString stringWithFormat:@"%@|%@|%@|", [rating valueForKey:@"prefix"], [rating valueForKey:@"itunes-code"], [rating valueForKey:@"itunes-value"]]]; - } - } - } + [self updateRatingsCountry]; } return self; } @@ -91,13 +52,46 @@ [countries addObject:countryName]; } } - return [countries autorelease]; + return countries; } - (void)updateRatingsCountry { - [ratings release]; - [iTunesCodes release]; - [self init]; + // construct movie ratings + ratings = [[NSMutableArray alloc] init]; + iTunesCodes = [[NSMutableArray alloc] init]; + + // if a specific country is picked, include the USA ratings at the end + NSString *selectedCountry = [[NSUserDefaults standardUserDefaults] valueForKey:@"SBRatingsCountry"]; + NSDictionary *usaRatings = nil; + + for (NSDictionary *countryRatings in ratingsDictionary) { + NSString *countryName = [countryRatings valueForKey:@"country"]; + + if ([countryName isEqualToString:@"USA"]) { + usaRatings = countryRatings; + } + + if (![selectedCountry isEqualToString:@"All countries"]) { + if (![countryName isEqualToString:@"Unknown"] && ![countryName isEqualToString:selectedCountry]) { + continue; + } + + } + + for (NSDictionary *rating in [countryRatings valueForKey:@"ratings"]) { + [ratings addObject:[NSString stringWithFormat:@"%@ %@: %@", countryName, [rating valueForKey:@"media"], [rating valueForKey:@"description"]]]; + [iTunesCodes addObject:[NSString stringWithFormat:@"%@|%@|%@|", [rating valueForKey:@"prefix"], [rating valueForKey:@"itunes-code"], [rating valueForKey:@"itunes-value"]]]; + } + } + + if (![selectedCountry isEqualToString:@"All countries"] && ![selectedCountry isEqualToString:@"USA"]) { + if (usaRatings) { + for (NSDictionary *rating in [usaRatings valueForKey:@"ratings"]) { + [ratings addObject:[NSString stringWithFormat:@"%@ %@: %@", @"USA", [rating valueForKey:@"media"], [rating valueForKey:@"description"]]]; + [iTunesCodes addObject:[NSString stringWithFormat:@"%@|%@|%@|", [rating valueForKey:@"prefix"], [rating valueForKey:@"itunes-code"], [rating valueForKey:@"itunes-value"]]]; + } + } + } } - (NSArray *) ratings { diff --git a/MP42/MP42Sample.m b/MP42/MP42Sample.m index b09aa72..7644b91 100644 --- a/MP42/MP42Sample.m +++ b/MP42/MP42Sample.m @@ -12,7 +12,6 @@ - (void)dealloc { free(data); - [super dealloc]; } @end diff --git a/MP42/MP42SubUtilities.m b/MP42/MP42SubUtilities.m index 1d3aa6e..6b8f16b 100644 --- a/MP42/MP42SubUtilities.m +++ b/MP42/MP42SubUtilities.m @@ -24,15 +24,9 @@ return self; } --(void)dealloc -{ - [lines release]; - [super dealloc]; -} - static CFComparisonResult CompareLinesByBeginTime(const void *a, const void *b, void *unused) { - SBSubLine *al = (SBSubLine*)a, *bl = (SBSubLine*)b; + SBSubLine *al = (__bridge SBSubLine*)a, *bl = (__bridge SBSubLine*)b; if (al->begin_time > bl->begin_time) return kCFCompareGreaterThan; if (al->begin_time < bl->begin_time) return kCFCompareLessThan; @@ -57,7 +51,7 @@ static CFComparisonResult CompareLinesByBeginTime(const void *a, const void *b, if (!nlines || line->begin_time > ((SBSubLine*)[lines objectAtIndex:nlines-1])->begin_time) { [lines addObject:line]; } else { - CFIndex i = CFArrayBSearchValues((CFArrayRef)lines, CFRangeMake(0, nlines), line, CompareLinesByBeginTime, NULL); + CFIndex i = CFArrayBSearchValues((CFArrayRef)lines, CFRangeMake(0, nlines), (__bridge const void *)(line), CompareLinesByBeginTime, NULL); if (i >= nlines) [lines addObject:line]; @@ -126,7 +120,7 @@ canOutput: } } - return [[[SBSubLine alloc] initWithLine:str start:begin_time end:end_time top_pos:top_pos forced:frcd] autorelease]; + return [[SBSubLine alloc] initWithLine:str start:begin_time end:end_time top_pos:top_pos forced:frcd]; } -(SBSubLine*)getSerializedPacket @@ -138,7 +132,7 @@ canOutput: SBSubLine *nextline = [lines objectAtIndex:0], *ret; if (nextline->begin_time > last_end_time) { - ret = [[[SBSubLine alloc] initWithLine:@"\n" start:last_end_time end:nextline->begin_time] autorelease]; + ret = [[SBSubLine alloc] initWithLine:@"\n" start:last_end_time end:nextline->begin_time]; } else { ret = [self getNextRealSerializedPacket]; } @@ -195,11 +189,11 @@ canOutput: @implementation SBSubLine --(instancetype)initWithLine:(NSString*)l start:(unsigned)s end:(unsigned)e +-(instancetype)initWithLine:(NSString *)l start:(unsigned)s end:(unsigned)e { if ((self = [super init])) { if ([l characterAtIndex:[l length]-1] != '\n') l = [l stringByAppendingString:@"\n"]; - line = [l retain]; + line = l; begin_time = s; end_time = e; no = 0; @@ -218,12 +212,6 @@ canOutput: return self; } --(void)dealloc -{ - [line release]; - [super dealloc]; -} - -(NSString *)description { return [NSString stringWithFormat:@"\"%@\", from %d s to %d s",[line substringToIndex:[line length]-1],begin_time,end_time]; @@ -337,20 +325,19 @@ extern NSString *STLoadFileWithUnknownEncoding(NSURL *url) NSLog(@"Guessed encoding \"%s\" for \"%s\", but not sure (confidence %f%%).\n", enc_str.UTF8String, url.path.UTF8String, conf*100.); } - res = [[[NSString alloc] initWithData:data encoding:enc] autorelease]; + res = [[NSString alloc] initWithData:data encoding:enc]; if (!res) { if (latin2) { NSLog(@"Encoding %s failed, retrying.\n",[enc_str UTF8String]); enc = (enc == NSWindowsCP1252StringEncoding) ? NSWindowsCP1250StringEncoding : NSWindowsCP1252StringEncoding; - res = [[[NSString alloc] initWithData:data encoding:enc] autorelease]; + res = [[NSString alloc] initWithData:data encoding:enc]; if (!res) NSLog(@"Both of latin1/2 failed.\n"); } else { - res = [[[NSString alloc] initWithData:data encoding:NSASCIIStringEncoding] autorelease]; + res = [[NSString alloc] initWithData:data encoding:NSASCIIStringEncoding]; if (!res) NSLog(@"ASCII failed."), NSLog(@"Failed to load file as guessed encoding %@.",enc_str); } } - [ud release]; return res; } @@ -432,7 +419,7 @@ int LoadSRTFromURL(NSURL *url, SBSubSerializer *ss, MP4Duration *duration) [sc scanUpToString:@"\n\n" intoString:&res]; [sc scanString:@"\n\n" intoString:nil]; SBSubLine *sl = [[SBSubLine alloc] initWithLine:res start:startTime end:endTime top_pos:position forced:forced]; - [ss addLine:[sl autorelease]]; + [ss addLine:sl]; state = INITIAL; break; }; @@ -494,7 +481,6 @@ int LoadChaptersFromURL(NSURL *url, NSMutableArray *ss) [ss addObject:chapter]; count++; - [chapter release]; state = TIMESTAMP; break; }; @@ -524,7 +510,6 @@ int LoadChaptersFromURL(NSURL *url, NSMutableArray *ss) [ss addObject:chapter]; count++; - [chapter release]; state = TIMESTAMP; break; }; @@ -710,7 +695,7 @@ int LoadSMIFromURL(NSURL *url, SBSubSerializer *ss, int subCount) [cmt insertString:@"{\\an8}" atIndex:0]; if ((subCount == 1 && cc == 1) || (subCount == 2 && cc == 2)) { SBSubLine *sl = [[SBSubLine alloc] initWithLine:cmt start:startTime end:endTime]; - [ss addLine:[sl autorelease]]; + [ss addLine:sl]; } } startTime = syncTime; @@ -950,13 +935,11 @@ NSString* createStyleAtomForString(NSString* string, u_int8_t** buffer, size_t * styleCount++; } - if (styleCount) + if (styleCount) { *size = closeStyleAtom(styleCount, *buffer); + } - string = [parser.text retain]; - [parser release]; - - return [string autorelease]; + return parser.text; } NSString* removeNewLines(NSString* string) { diff --git a/MP42/MP42SubtitleTrack.m b/MP42/MP42SubtitleTrack.m index df2766c..d658cf2 100644 --- a/MP42/MP42SubtitleTrack.m +++ b/MP42/MP42SubtitleTrack.m @@ -263,7 +263,7 @@ static void insertTagsFromStyleRecord(style_record record, NSMutableString *samp uint32_t timeScale = MP4GetTrackTimeScale(fileHandle, srcTrackId); uint64_t samples = MP4GetTrackNumberOfSamples(fileHandle, srcTrackId); - NSMutableString *srtFile = [[[NSMutableString alloc] init] autorelease]; + NSMutableString *srtFile = [[NSMutableString alloc] init]; uint64_t r, g, b, a; MP4GetTrackIntegerProperty(fileHandle, srcTrackId, "mdia.minf.stbl.stsd.tx3g.fontColorRed", &r); @@ -296,9 +296,9 @@ static void insertTagsFromStyleRecord(style_record record, NSMutableString *samp NSUInteger textSampleLength = ((pBytes[0] << 8) & 0xff00) + pBytes[1]; if (textSampleLength) { - sampleText = [[[NSMutableString alloc] initWithBytes:(pBytes + 2) - length:textSampleLength - encoding:NSUTF8StringEncoding] autorelease]; + sampleText = [[NSMutableString alloc] initWithBytes:(pBytes + 2) + length:textSampleLength + encoding:NSUTF8StringEncoding]; } // Let's see if there is an atom after the text sample @@ -452,9 +452,4 @@ static void insertTagsFromStyleRecord(style_record record, NSMutableString *samp return self; } -- (void)dealloc -{ - [super dealloc]; -} - @end diff --git a/MP42/MP42XMLReader.m b/MP42/MP42XMLReader.m index 9e81925..3a0a1cb 100644 --- a/MP42/MP42XMLReader.m +++ b/MP42/MP42XMLReader.m @@ -26,7 +26,6 @@ if ([nodes count] == 1) [self metadata2:_mMetadata forNode:[nodes objectAtIndex:0]]; } - [xml release]; } return self; } @@ -37,7 +36,7 @@ NSError *err; NSArray *tag = [node nodesForXPath:query error:&err]; if ([tag count]) { - NSMutableArray *elements = [[[NSMutableArray alloc] initWithCapacity:[tag count]] autorelease]; + NSMutableArray *elements = [[NSMutableArray alloc] initWithCapacity:tag.count]; NSEnumerator *tagEnum = [tag objectEnumerator]; NSXMLNode *element; while ((element = [tagEnum nextObject])) { @@ -122,11 +121,4 @@ return metadata; } - -- (void)dealloc -{ - [_mMetadata release]; - [super dealloc]; -} - @end diff --git a/MP42Foundation.xcodeproj/project.pbxproj b/MP42Foundation.xcodeproj/project.pbxproj index 2a371da..0b73f95 100644 --- a/MP42Foundation.xcodeproj/project.pbxproj +++ b/MP42Foundation.xcodeproj/project.pbxproj @@ -34,28 +34,28 @@ A910B5A418394E900064028F /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A9B9C1F0182391DF00416A4E /* Cocoa.framework */; }; A910B5C618394EB20064028F /* MP42File.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2311823923100416A4E /* MP42File.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; A910B5C818394EB20064028F /* MP42Track.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2511823923100416A4E /* MP42Track.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A910B5CA18394EB20064028F /* MP42VideoTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2551823923100416A4E /* MP42VideoTrack.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A910B5CC18394EB20064028F /* MP42AudioTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2221823923100416A4E /* MP42AudioTrack.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A910B5CE18394EB20064028F /* MP42ChapterTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C22A1823923100416A4E /* MP42ChapterTrack.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A910B5D018394EB20064028F /* MP42SubtitleTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C24D1823923100416A4E /* MP42SubtitleTrack.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A910B5D218394EB20064028F /* MP42ClosedCaptionTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C22C1823923100416A4E /* MP42ClosedCaptionTrack.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A910B5D418394EB20064028F /* MP42Metadata.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C23D1823923100416A4E /* MP42Metadata.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A910B5D618394EB20064028F /* MP42MediaFormat.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C23B1823923100416A4E /* MP42MediaFormat.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A910B5D818394EB20064028F /* MP42TextSample.m in Sources */ = {isa = PBXBuildFile; fileRef = A989F10E1823B3B40070AD8C /* MP42TextSample.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A910B5DA18394EB20064028F /* MP42Image.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2391823923100416A4E /* MP42Image.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A910B5DC18394EB20064028F /* MP42Languages.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2C31823957800416A4E /* MP42Languages.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A910B5DE18394EB20064028F /* MP42Ratings.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2CE182396A100416A4E /* MP42Ratings.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A910B5E018394EB20064028F /* MP42PrivateUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2531823923100416A4E /* MP42PrivateUtilities.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A910B5E218394EB20064028F /* MP42Utilities.m in Sources */ = {isa = PBXBuildFile; fileRef = A925AAAE18379AF800BE84D4 /* MP42Utilities.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A910B5E418394EB20064028F /* MP42SubUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C24F1823923100416A4E /* MP42SubUtilities.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A910B5E618394EB20064028F /* MP42XMLReader.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2591823923200416A4E /* MP42XMLReader.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A910B5E818394EB20064028F /* MP42HtmlParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2371823923100416A4E /* MP42HtmlParser.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A910B5CA18394EB20064028F /* MP42VideoTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2551823923100416A4E /* MP42VideoTrack.m */; }; + A910B5CC18394EB20064028F /* MP42AudioTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2221823923100416A4E /* MP42AudioTrack.m */; }; + A910B5CE18394EB20064028F /* MP42ChapterTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C22A1823923100416A4E /* MP42ChapterTrack.m */; }; + A910B5D018394EB20064028F /* MP42SubtitleTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C24D1823923100416A4E /* MP42SubtitleTrack.m */; }; + A910B5D218394EB20064028F /* MP42ClosedCaptionTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C22C1823923100416A4E /* MP42ClosedCaptionTrack.m */; }; + A910B5D418394EB20064028F /* MP42Metadata.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C23D1823923100416A4E /* MP42Metadata.m */; }; + A910B5D618394EB20064028F /* MP42MediaFormat.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C23B1823923100416A4E /* MP42MediaFormat.m */; }; + A910B5D818394EB20064028F /* MP42TextSample.m in Sources */ = {isa = PBXBuildFile; fileRef = A989F10E1823B3B40070AD8C /* MP42TextSample.m */; }; + A910B5DA18394EB20064028F /* MP42Image.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2391823923100416A4E /* MP42Image.m */; }; + A910B5DC18394EB20064028F /* MP42Languages.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2C31823957800416A4E /* MP42Languages.m */; }; + A910B5DE18394EB20064028F /* MP42Ratings.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2CE182396A100416A4E /* MP42Ratings.m */; }; + A910B5E018394EB20064028F /* MP42PrivateUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2531823923100416A4E /* MP42PrivateUtilities.m */; }; + A910B5E218394EB20064028F /* MP42Utilities.m in Sources */ = {isa = PBXBuildFile; fileRef = A925AAAE18379AF800BE84D4 /* MP42Utilities.m */; }; + A910B5E418394EB20064028F /* MP42SubUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C24F1823923100416A4E /* MP42SubUtilities.m */; }; + A910B5E618394EB20064028F /* MP42XMLReader.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2591823923200416A4E /* MP42XMLReader.m */; }; + A910B5E818394EB20064028F /* MP42HtmlParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2371823923100416A4E /* MP42HtmlParser.m */; }; A910B5F118394EB20064028F /* MP42Muxer.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2431823923100416A4E /* MP42Muxer.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A910B5F418394EB20064028F /* MP42Sample.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2491823923100416A4E /* MP42Sample.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A910B5F418394EB20064028F /* MP42Sample.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2491823923100416A4E /* MP42Sample.m */; }; A910B5F718394EB20064028F /* MP42Fifo.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C22F1823923100416A4E /* MP42Fifo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; A910B5F918394EB20064028F /* MP42FileImporter.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2331823923100416A4E /* MP42FileImporter.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; A910B5FA18394EB20064028F /* sfifo.c in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2641823923200416A4E /* sfifo.c */; }; - A910B5FD18394EB20064028F /* MP42OCRWrapper.mm in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2451823923100416A4E /* MP42OCRWrapper.mm */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A910B5FD18394EB20064028F /* MP42OCRWrapper.mm in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2451823923100416A4E /* MP42OCRWrapper.mm */; }; A910B5FF18394EB20064028F /* MP42BitmapSubConverter.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2261823923100416A4E /* MP42BitmapSubConverter.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; A910B60118394EB20064028F /* MP42AudioConverter.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2201823923100416A4E /* MP42AudioConverter.m */; }; A910B60318394EB20064028F /* MP42H264Importer.mm in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2351823923100416A4E /* MP42H264Importer.mm */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-checker -fno-objc-arc"; }; }; @@ -80,12 +80,12 @@ A91711E9187D547D00459495 /* MP42PreviewGenerator.m in Sources */ = {isa = PBXBuildFile; fileRef = A91711E5187D547D00459495 /* MP42PreviewGenerator.m */; }; A917286619FD2BCE00348DF8 /* MP42Logging.h in Headers */ = {isa = PBXBuildFile; fileRef = A917286519FD2BCE00348DF8 /* MP42Logging.h */; settings = {ATTRIBUTES = (Public, ); }; }; A917286719FD2BCE00348DF8 /* MP42Logging.h in Headers */ = {isa = PBXBuildFile; fileRef = A917286519FD2BCE00348DF8 /* MP42Logging.h */; }; - A91C3ACE1BF20CF1008BCF87 /* MP42FormatUtilites.mm in Sources */ = {isa = PBXBuildFile; fileRef = A91C3ACC1BF20CF1008BCF87 /* MP42FormatUtilites.mm */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A91C3ACF1BF20CF1008BCF87 /* MP42FormatUtilites.mm in Sources */ = {isa = PBXBuildFile; fileRef = A91C3ACC1BF20CF1008BCF87 /* MP42FormatUtilites.mm */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A91C3ACE1BF20CF1008BCF87 /* MP42FormatUtilites.mm in Sources */ = {isa = PBXBuildFile; fileRef = A91C3ACC1BF20CF1008BCF87 /* MP42FormatUtilites.mm */; }; + A91C3ACF1BF20CF1008BCF87 /* MP42FormatUtilites.mm in Sources */ = {isa = PBXBuildFile; fileRef = A91C3ACC1BF20CF1008BCF87 /* MP42FormatUtilites.mm */; }; A91C3AD01BF20CF1008BCF87 /* MP42FormatUtilites.h in Headers */ = {isa = PBXBuildFile; fileRef = A91C3ACD1BF20CF1008BCF87 /* MP42FormatUtilites.h */; }; A91C3AD11BF20CF1008BCF87 /* MP42FormatUtilites.h in Headers */ = {isa = PBXBuildFile; fileRef = A91C3ACD1BF20CF1008BCF87 /* MP42FormatUtilites.h */; }; A925AAAF18379AF800BE84D4 /* MP42Utilities.h in Headers */ = {isa = PBXBuildFile; fileRef = A925AAAD18379AF800BE84D4 /* MP42Utilities.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A925AAB018379AF800BE84D4 /* MP42Utilities.m in Sources */ = {isa = PBXBuildFile; fileRef = A925AAAE18379AF800BE84D4 /* MP42Utilities.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A925AAB018379AF800BE84D4 /* MP42Utilities.m in Sources */ = {isa = PBXBuildFile; fileRef = A925AAAE18379AF800BE84D4 /* MP42Utilities.m */; }; A93EE6E91D489FFC003E3B56 /* libavresample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A99DB6AD1D4648D100C6E56C /* libavresample.a */; }; A93EE6EA1D48A01A003E3B56 /* libswresample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9D599BA1D4885E0001C22BD /* libswresample.a */; }; A9422FC51D4917AF000DB435 /* audio_resample.c in Sources */ = {isa = PBXBuildFile; fileRef = A9422FC31D4917AF000DB435 /* audio_resample.c */; }; @@ -95,9 +95,9 @@ A947BA9B1824F0B3004C734B /* Ratings.json in Resources */ = {isa = PBXBuildFile; fileRef = A947BA9A1824F0B3004C734B /* Ratings.json */; }; A96523451BAC315900E994E0 /* NSString+MP42Additions.h in Headers */ = {isa = PBXBuildFile; fileRef = A96523431BAC315900E994E0 /* NSString+MP42Additions.h */; }; A96523461BAC315900E994E0 /* NSString+MP42Additions.h in Headers */ = {isa = PBXBuildFile; fileRef = A96523431BAC315900E994E0 /* NSString+MP42Additions.h */; }; - A96523471BAC315900E994E0 /* NSString+MP42Additions.m in Sources */ = {isa = PBXBuildFile; fileRef = A96523441BAC315900E994E0 /* NSString+MP42Additions.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A96523471BAC315900E994E0 /* NSString+MP42Additions.m in Sources */ = {isa = PBXBuildFile; fileRef = A96523441BAC315900E994E0 /* NSString+MP42Additions.m */; }; A96523481BAC315900E994E0 /* NSString+MP42Additions.m in Sources */ = {isa = PBXBuildFile; fileRef = A96523441BAC315900E994E0 /* NSString+MP42Additions.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A96523491BAC315900E994E0 /* NSString+MP42Additions.m in Sources */ = {isa = PBXBuildFile; fileRef = A96523441BAC315900E994E0 /* NSString+MP42Additions.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A96523491BAC315900E994E0 /* NSString+MP42Additions.m in Sources */ = {isa = PBXBuildFile; fileRef = A96523441BAC315900E994E0 /* NSString+MP42Additions.m */; }; A96D28931BAD390400403327 /* MP42Metadata+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A96D28921BAD390400403327 /* MP42Metadata+Private.h */; }; A96D28941BAD390400403327 /* MP42Metadata+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A96D28921BAD390400403327 /* MP42Metadata+Private.h */; }; A97EA7C71D4B8A2D00257CEA /* FFmpegUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = A97EA7C51D4B8A2D00257CEA /* FFmpegUtils.h */; }; @@ -122,7 +122,7 @@ A99FCBC51BAD65EF0058E27A /* MP42Track+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A99FCBC31BAD65EF0058E27A /* MP42Track+Private.h */; }; A9A0C99C19814B0800A72763 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A9A0C99B19814B0800A72763 /* CoreAudio.framework */; }; A9A0C9A419814C9B00A72763 /* AudioUnit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A9A0C9A319814C9B00A72763 /* AudioUnit.framework */; }; - A9A268E2196D6367003AFF57 /* MP42EditListsReconstructor.m in Sources */ = {isa = PBXBuildFile; fileRef = A9DFBDCA1960174500410060 /* MP42EditListsReconstructor.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A9A268E2196D6367003AFF57 /* MP42EditListsReconstructor.m in Sources */ = {isa = PBXBuildFile; fileRef = A9DFBDCA1960174500410060 /* MP42EditListsReconstructor.m */; }; A9AEFE151B9B111B00771292 /* MP42FileImporter+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A9AEFE141B9B111B00771292 /* MP42FileImporter+Private.h */; }; A9AEFE161B9B111B00771292 /* MP42FileImporter+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A9AEFE141B9B111B00771292 /* MP42FileImporter+Private.h */; }; A9B9C1F1182391DF00416A4E /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A9B9C1F0182391DF00416A4E /* Cocoa.framework */; }; @@ -138,7 +138,7 @@ A9B9C26A1823923200416A4E /* MP42AudioConverter.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C21F1823923100416A4E /* MP42AudioConverter.h */; }; A9B9C26B1823923200416A4E /* MP42AudioConverter.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2201823923100416A4E /* MP42AudioConverter.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; A9B9C26C1823923200416A4E /* MP42AudioTrack.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2211823923100416A4E /* MP42AudioTrack.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A9B9C26D1823923200416A4E /* MP42AudioTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2221823923100416A4E /* MP42AudioTrack.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A9B9C26D1823923200416A4E /* MP42AudioTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2221823923100416A4E /* MP42AudioTrack.m */; }; A9B9C26E1823923200416A4E /* MP42AVFImporter.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2231823923100416A4E /* MP42AVFImporter.h */; }; A9B9C26F1823923200416A4E /* MP42AVFImporter.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2241823923100416A4E /* MP42AVFImporter.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; A9B9C2701823923200416A4E /* MP42BitmapSubConverter.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2251823923100416A4E /* MP42BitmapSubConverter.h */; }; @@ -146,9 +146,9 @@ A9B9C2721823923200416A4E /* MP42CCImporter.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2271823923100416A4E /* MP42CCImporter.h */; }; A9B9C2731823923200416A4E /* MP42CCImporter.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2281823923100416A4E /* MP42CCImporter.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; A9B9C2741823923200416A4E /* MP42ChapterTrack.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2291823923100416A4E /* MP42ChapterTrack.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A9B9C2751823923200416A4E /* MP42ChapterTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C22A1823923100416A4E /* MP42ChapterTrack.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A9B9C2751823923200416A4E /* MP42ChapterTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C22A1823923100416A4E /* MP42ChapterTrack.m */; }; A9B9C2761823923200416A4E /* MP42ClosedCaptionTrack.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C22B1823923100416A4E /* MP42ClosedCaptionTrack.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A9B9C2771823923200416A4E /* MP42ClosedCaptionTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C22C1823923100416A4E /* MP42ClosedCaptionTrack.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A9B9C2771823923200416A4E /* MP42ClosedCaptionTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C22C1823923100416A4E /* MP42ClosedCaptionTrack.m */; }; A9B9C2791823923200416A4E /* MP42Fifo.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C22E1823923100416A4E /* MP42Fifo.h */; }; A9B9C27A1823923200416A4E /* MP42Fifo.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C22F1823923100416A4E /* MP42Fifo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; A9B9C27B1823923200416A4E /* MP42File.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2301823923100416A4E /* MP42File.h */; settings = {ATTRIBUTES = (Public, ); }; }; @@ -158,11 +158,11 @@ A9B9C27F1823923200416A4E /* MP42H264Importer.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2341823923100416A4E /* MP42H264Importer.h */; }; A9B9C2801823923200416A4E /* MP42H264Importer.mm in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2351823923100416A4E /* MP42H264Importer.mm */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks -fno-objc-arc"; }; }; A9B9C2811823923200416A4E /* MP42HtmlParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2361823923100416A4E /* MP42HtmlParser.h */; }; - A9B9C2821823923200416A4E /* MP42HtmlParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2371823923100416A4E /* MP42HtmlParser.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A9B9C2821823923200416A4E /* MP42HtmlParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2371823923100416A4E /* MP42HtmlParser.m */; }; A9B9C2831823923200416A4E /* MP42Image.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2381823923100416A4E /* MP42Image.h */; settings = {ATTRIBUTES = (Public, ); }; }; A9B9C2841823923200416A4E /* MP42Image.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2391823923100416A4E /* MP42Image.m */; }; A9B9C2851823923200416A4E /* MP42MediaFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C23A1823923100416A4E /* MP42MediaFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A9B9C2861823923200416A4E /* MP42MediaFormat.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C23B1823923100416A4E /* MP42MediaFormat.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A9B9C2861823923200416A4E /* MP42MediaFormat.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C23B1823923100416A4E /* MP42MediaFormat.m */; }; A9B9C2871823923200416A4E /* MP42Metadata.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C23C1823923100416A4E /* MP42Metadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; A9B9C2881823923200416A4E /* MP42Metadata.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C23D1823923100416A4E /* MP42Metadata.m */; }; A9B9C2891823923200416A4E /* MP42MkvImporter.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C23E1823923100416A4E /* MP42MkvImporter.h */; }; @@ -172,24 +172,24 @@ A9B9C28D1823923200416A4E /* MP42Muxer.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2421823923100416A4E /* MP42Muxer.h */; }; A9B9C28E1823923200416A4E /* MP42Muxer.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2431823923100416A4E /* MP42Muxer.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; A9B9C28F1823923200416A4E /* MP42OCRWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2441823923100416A4E /* MP42OCRWrapper.h */; }; - A9B9C2901823923200416A4E /* MP42OCRWrapper.mm in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2451823923100416A4E /* MP42OCRWrapper.mm */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A9B9C2941823923200416A4E /* MP42Sample.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2491823923100416A4E /* MP42Sample.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A9B9C2901823923200416A4E /* MP42OCRWrapper.mm in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2451823923100416A4E /* MP42OCRWrapper.mm */; }; + A9B9C2941823923200416A4E /* MP42Sample.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2491823923100416A4E /* MP42Sample.m */; }; A9B9C2951823923200416A4E /* MP42SrtImporter.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C24A1823923100416A4E /* MP42SrtImporter.h */; }; A9B9C2961823923200416A4E /* MP42SrtImporter.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C24B1823923100416A4E /* MP42SrtImporter.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; A9B9C2971823923200416A4E /* MP42SubtitleTrack.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C24C1823923100416A4E /* MP42SubtitleTrack.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A9B9C2981823923200416A4E /* MP42SubtitleTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C24D1823923100416A4E /* MP42SubtitleTrack.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A9B9C2981823923200416A4E /* MP42SubtitleTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C24D1823923100416A4E /* MP42SubtitleTrack.m */; }; A9B9C2991823923200416A4E /* MP42SubUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C24E1823923100416A4E /* MP42SubUtilities.h */; }; - A9B9C29A1823923200416A4E /* MP42SubUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C24F1823923100416A4E /* MP42SubUtilities.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A9B9C29A1823923200416A4E /* MP42SubUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C24F1823923100416A4E /* MP42SubUtilities.m */; }; A9B9C29B1823923200416A4E /* MP42Track.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2501823923100416A4E /* MP42Track.h */; settings = {ATTRIBUTES = (Public, ); }; }; A9B9C29C1823923200416A4E /* MP42Track.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2511823923100416A4E /* MP42Track.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; A9B9C29D1823923200416A4E /* MP42PrivateUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2521823923100416A4E /* MP42PrivateUtilities.h */; }; - A9B9C29E1823923200416A4E /* MP42PrivateUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2531823923100416A4E /* MP42PrivateUtilities.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A9B9C29E1823923200416A4E /* MP42PrivateUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2531823923100416A4E /* MP42PrivateUtilities.m */; }; A9B9C29F1823923200416A4E /* MP42VideoTrack.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2541823923100416A4E /* MP42VideoTrack.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A9B9C2A01823923200416A4E /* MP42VideoTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2551823923100416A4E /* MP42VideoTrack.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A9B9C2A01823923200416A4E /* MP42VideoTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2551823923100416A4E /* MP42VideoTrack.m */; }; A9B9C2A11823923200416A4E /* MP42VobSubImporter.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2561823923200416A4E /* MP42VobSubImporter.h */; }; A9B9C2A21823923200416A4E /* MP42VobSubImporter.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2571823923200416A4E /* MP42VobSubImporter.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; A9B9C2A31823923200416A4E /* MP42XMLReader.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2581823923200416A4E /* MP42XMLReader.h */; }; - A9B9C2A41823923200416A4E /* MP42XMLReader.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2591823923200416A4E /* MP42XMLReader.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A9B9C2A41823923200416A4E /* MP42XMLReader.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2591823923200416A4E /* MP42XMLReader.m */; }; A9B9C2A71823923200416A4E /* MatroskaFile.c in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C25D1823923200416A4E /* MatroskaFile.c */; }; A9B9C2A81823923200416A4E /* MatroskaFile.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C25E1823923200416A4E /* MatroskaFile.h */; }; A9B9C2A91823923200416A4E /* MatroskaParser.c in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C25F1823923200416A4E /* MatroskaParser.c */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; @@ -200,9 +200,9 @@ A9B9C2AE1823923200416A4E /* sfifo.c in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2641823923200416A4E /* sfifo.c */; }; A9B9C2AF1823923200416A4E /* sfifo.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2651823923200416A4E /* sfifo.h */; }; A9B9C2C41823957800416A4E /* MP42Languages.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2C21823957800416A4E /* MP42Languages.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A9B9C2C51823957800416A4E /* MP42Languages.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2C31823957800416A4E /* MP42Languages.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A9B9C2C51823957800416A4E /* MP42Languages.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2C31823957800416A4E /* MP42Languages.m */; }; A9B9C2CF182396A100416A4E /* MP42Ratings.h in Headers */ = {isa = PBXBuildFile; fileRef = A9B9C2CD182396A100416A4E /* MP42Ratings.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A9B9C2D0182396A100416A4E /* MP42Ratings.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2CE182396A100416A4E /* MP42Ratings.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A9B9C2D0182396A100416A4E /* MP42Ratings.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9C2CE182396A100416A4E /* MP42Ratings.m */; }; A9B9C2D81823970E00416A4E /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A9B9C2D71823970E00416A4E /* AVFoundation.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; A9B9C2DA1823971F00416A4E /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A9B9C2D91823971F00416A4E /* AudioToolbox.framework */; }; A9B9C2DE1823973200416A4E /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A9B9C2DD1823973200416A4E /* CoreMedia.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; @@ -213,7 +213,7 @@ A9DFBDA4195FF5BA00410060 /* MP42Heap.m in Sources */ = {isa = PBXBuildFile; fileRef = A9DFBDA0195FF5BA00410060 /* MP42Heap.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; A9DFBDA5195FF5BA00410060 /* MP42Heap.m in Sources */ = {isa = PBXBuildFile; fileRef = A9DFBDA0195FF5BA00410060 /* MP42Heap.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; A9DFBDCB1960174500410060 /* MP42EditListsReconstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = A9DFBDC91960174500410060 /* MP42EditListsReconstructor.h */; }; - A9DFBDCC1960174500410060 /* MP42EditListsReconstructor.m in Sources */ = {isa = PBXBuildFile; fileRef = A9DFBDCA1960174500410060 /* MP42EditListsReconstructor.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A9DFBDCC1960174500410060 /* MP42EditListsReconstructor.m in Sources */ = {isa = PBXBuildFile; fileRef = A9DFBDCA1960174500410060 /* MP42EditListsReconstructor.m */; }; A9E8FB851D4664E80071A5F1 /* libbz2.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = A9E8FB841D4664E80071A5F1 /* libbz2.tbd */; }; A9E8FB871D4664F70071A5F1 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = A9E8FB861D4664F70071A5F1 /* libz.tbd */; }; /* End PBXBuildFile section */ @@ -1023,25 +1023,31 @@ buildActionMask = 2147483647; files = ( A91711E8187D547D00459495 /* MP42PreviewGenerator.m in Sources */, + A9B9C29C1823923200416A4E /* MP42Track.m in Sources */, A9B9C2A01823923200416A4E /* MP42VideoTrack.m in Sources */, A90801171D4B83A3002B6950 /* MP42AudioEncoder.m in Sources */, + A9B9C2981823923200416A4E /* MP42SubtitleTrack.m in Sources */, A9B9C27E1823923200416A4E /* MP42FileImporter.m in Sources */, A9B9C27A1823923200416A4E /* MP42Fifo.m in Sources */, + A9DFBDA3195FF5BA00410060 /* MP42Heap.m in Sources */, A9B9C2801823923200416A4E /* MP42H264Importer.mm in Sources */, A9B9C26B1823923200416A4E /* MP42AudioConverter.m in Sources */, A9022A961D6F3FD9005F0920 /* MP42MetadataItem.m in Sources */, - A9B9C2961823923200416A4E /* MP42SrtImporter.m in Sources */, + A9B9C2D0182396A100416A4E /* MP42Ratings.m in Sources */, A9B9C2AB1823923200416A4E /* mbs.cpp in Sources */, A9B9C2AE1823923200416A4E /* sfifo.c in Sources */, - A9B9C2A21823923200416A4E /* MP42VobSubImporter.m in Sources */, A9B9C28E1823923200416A4E /* MP42Muxer.m in Sources */, A991714C195AAAEF005AD68E /* MP42Track+Muxer.m in Sources */, - A9B9C2D0182396A100416A4E /* MP42Ratings.m in Sources */, + A9B9C27C1823923200416A4E /* MP42File.m in Sources */, + A9B9C2A21823923200416A4E /* MP42VobSubImporter.m in Sources */, + A9B9C2961823923200416A4E /* MP42SrtImporter.m in Sources */, A9B9C2691823923200416A4E /* MP42AC3Importer.m in Sources */, A9B9C26F1823923200416A4E /* MP42AVFImporter.m in Sources */, - A9B9C27C1823923200416A4E /* MP42File.m in Sources */, - A9B9C2771823923200416A4E /* MP42ClosedCaptionTrack.m in Sources */, A9B9C2671823923200416A4E /* MP42AACImporter.mm in Sources */, + A9B9C28C1823923200416A4E /* MP42Mp4Importer.m in Sources */, + A9B9C28A1823923200416A4E /* MP42MkvImporter.m in Sources */, + A9B9C2731823923200416A4E /* MP42CCImporter.m in Sources */, + A9B9C2771823923200416A4E /* MP42ClosedCaptionTrack.m in Sources */, A9B9C2821823923200416A4E /* MP42HtmlParser.m in Sources */, A9B9C2861823923200416A4E /* MP42MediaFormat.m in Sources */, A9B9C2A41823923200416A4E /* MP42XMLReader.m in Sources */, @@ -1052,24 +1058,18 @@ A9B9C2C51823957800416A4E /* MP42Languages.m in Sources */, A9B9C2841823923200416A4E /* MP42Image.m in Sources */, A9B9C29E1823923200416A4E /* MP42PrivateUtilities.m in Sources */, - A9B9C28C1823923200416A4E /* MP42Mp4Importer.m in Sources */, A97EA7C91D4B8A2D00257CEA /* FFmpegUtils.m in Sources */, A91C3ACE1BF20CF1008BCF87 /* MP42FormatUtilites.mm in Sources */, A9B9C26D1823923200416A4E /* MP42AudioTrack.m in Sources */, A9B9C2901823923200416A4E /* MP42OCRWrapper.mm in Sources */, A9B9C2881823923200416A4E /* MP42Metadata.m in Sources */, - A9B9C2A91823923200416A4E /* MatroskaParser.c in Sources */, A9B9C2941823923200416A4E /* MP42Sample.m in Sources */, - A9DFBDA3195FF5BA00410060 /* MP42Heap.m in Sources */, - A9B9C28A1823923200416A4E /* MP42MkvImporter.m in Sources */, A925AAB018379AF800BE84D4 /* MP42Utilities.m in Sources */, - A9B9C2731823923200416A4E /* MP42CCImporter.m in Sources */, A9B9C29A1823923200416A4E /* MP42SubUtilities.m in Sources */, A90801131D4B83A3002B6950 /* MP42AudioDecoder.m in Sources */, A9422FC51D4917AF000DB435 /* audio_resample.c in Sources */, - A9B9C2981823923200416A4E /* MP42SubtitleTrack.m in Sources */, - A9B9C29C1823923200416A4E /* MP42Track.m in Sources */, A9B9C2711823923200416A4E /* MP42BitmapSubConverter.m in Sources */, + A9B9C2A91823923200416A4E /* MatroskaParser.c in Sources */, A9B9C2A71823923200416A4E /* MatroskaFile.c in Sources */, ); runOnlyForDeploymentPostprocessing = 0;