Move some files to ARC.

This commit is contained in:
Damiano Galassi committed 2017-09-29 14:00:38 +02:00
1 parent 44a8f8d14e
commit ea5fc13f87
15 files changed
+112 -263

No files matched your search

+1 -6
View File
@@ -31,7 +31,6 @@
newTrack.URL = self.fileURL;
[self addTrack:newTrack];
[newTrack release];
}
return self;
@@ -155,7 +154,6 @@ static int ParseByte(const char *string, UInt8 *byte, Boolean hex)
sample.title = [lineArray lastObject];
[sampleArray addObject:sample];
[sample release];
}
for (MP42TextSample *ccSample in sampleArray) {
@@ -203,7 +201,6 @@ static int ParseByte(const char *string, UInt8 *byte, Boolean hex)
sample->trackId = trackId;
[self enqueue:sample];
[sample release];
frameDrop += ccSample.timestamp;
minutesDrop += frameDrop;
@@ -239,13 +236,11 @@ static int ParseByte(const char *string, UInt8 *byte, Boolean hex)
sample->trackId = trackId;
[self enqueue:sample];
[sample release];
i++;
self.progress = ((CGFloat)i / sampleArray.count) * 100;
}
[sampleArray release];
[self setDone];
}
}