Removed a bit of duplicate code in the chapters preview part.

This commit is contained in:
Damiano Galassi committed 2014-06-26 10:00:47 +02:00
1 parent 812cac3785
commit c8ab6b3b3c
4 files changed
+22 -92

No files matched your search

+3 -4
View File
@@ -122,9 +122,9 @@
if (cString)
if (!MP4SetTrackName(fileHandle, _Id, cString))
NSLog(@"Unable to set the track name");
}
else
} else {
MP4SetTrackName(fileHandle, _Id, "\0");
}
}
if ([_updatedProperty valueForKey:@"alternate_group"] || !_muxed)
MP4SetTrackIntegerProperty(fileHandle, _Id, "tkhd.alternate_group", _alternate_group);
@@ -292,8 +292,7 @@
relativeToURL:nil
bookmarkDataIsStale:&bookmarkDataIsStale
error:&error] retain];
}
else {
} else {
_sourceURL = [[decoder decodeObjectForKey:@"sourceURL"] retain];
}