Make MP4GetTrackMediaDataName aware of multiple sample descriptions. Only the first one is ready at the moment.

This commit is contained in:
Damiano Galassi committed 2021-12-09 12:03:28 +01:00
1 parent deb2e3b0fe
commit 45552f45c0
6 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ MP42_OBJC_DIRECT_MEMBERS
MP4GetTrackFloatProperty(fileHandle, self.trackId, "tkhd.height", &_trackHeight);
_transform = CGAffineTransformIdentity;
uint8_t *val;
uint8_t nval[36];
uint32_t *ptr32 = (uint32_t*) nval;