Fixes a crash in the eac3 header parser, add some preliminary work to read atmos in AVFoundation.

This commit is contained in:
Damiano Galassi committed 2018-09-05 15:26:31 +02:00
1 parent 39e523dce0
commit 0e19dccbdf
5 files changed
+92 -25

No files matched your search

+1 -1
View File
@@ -319,7 +319,7 @@
[importer setActiveTrack:track];
}
// EAC-3 audio tack
// EAC-3 audio track
else if ([track isMemberOfClass:[MP42AudioTrack class]] && format == kMP42AudioCodecType_EnhancedAC3) {
dstTrackId = MP4AddEAC3AudioTrack(_fileHandle, timeScale, magicCookie.bytes, magicCookie.length);