Moved some magic cookies utility to a new file.

This commit is contained in:
Damiano Galassi committed 2015-11-18 09:35:20 +01:00
1 parent 4e0d573c5b
commit 78a5867492
12 files changed
+276 -176

No files matched your search

+2 -2
View File
@@ -718,7 +718,7 @@ static bool GetFirstHeader(FILE* inFile)
{
if ((self = [super initWithURL:fileURL])) {
MP42Track *newTrack = [[MP42AudioTrack alloc] init];
MP42AudioTrack *newTrack = [[MP42AudioTrack alloc] init];
newTrack.format = MP42AudioFormatAAC;
newTrack.sourceURL = self.fileURL;
@@ -801,7 +801,7 @@ static bool GetFirstHeader(FILE* inFile)
samplesPerSecond,
channelConfig);
[(MP42AudioTrack*) newTrack setChannels:channelConfig];
[newTrack setChannels:channelConfig];
[newTrack setDataLength:[[[[NSFileManager defaultManager] attributesOfItemAtPath:self.fileURL.path error:nil] valueForKey:NSFileSize] unsignedLongLongValue]];
aacInfo = [[NSMutableData alloc] init];