Fix error condition.
This commit is contained in:
3 files changed
+4
-4
No files matched your search
@@ -163,7 +163,7 @@
|
||||
|
||||
- (BOOL)writeToFile:(MP4FileHandle)fileHandle error:(NSError **)outError
|
||||
{
|
||||
if (!fileHandle || !self.trackId || [super writeToFile:fileHandle error:outError]) {
|
||||
if (!fileHandle || !self.trackId || ![super writeToFile:fileHandle error:outError]) {
|
||||
if (outError != NULL) {
|
||||
*outError = MP42Error(MP42LocalizedString(@"Error: couldn't mux audio track", @"error message"),
|
||||
nil,
|
||||
|
||||
Reference in new issue
Block a user