Fix warnings.

This commit is contained in:
Damiano Galassi committed 2016-09-13 15:22:49 +02:00
1 parent 523399be1b
commit 82dd46773d
6 files changed
+45 -57

No files matched your search

+2 -1
View File
@@ -224,7 +224,8 @@
if (formatDescription) {
mediaType = CMFormatDescriptionGetMediaType(formatDescription);
}
newTrack = [[MP42Track alloc] initWithMediaType:mediaType];
newTrack = [[MP42Track alloc] init];
newTrack.mediaType = mediaType;
}
// Set the usual track properties