Fix leaks and read the webvtt magic cookie from mp4.

This commit is contained in:
Damiano Galassi committed 2016-02-18 13:25:40 +01:00
1 parent 5ba205be44
commit a33fcd02a0
5 files changed
+31 -5

No files matched your search

+1 -1
View File
@@ -75,8 +75,8 @@ extern u_int8_t MP4AV_AacConfigGetChannels(u_int8_t* pConfig);
uint8_t *ppValue;
uint32_t pValueSize;
MP4GetTrackBytesProperty(fileHandle, _trackId, "mdia.minf.stbl.stsd.ec-3.dec3.content", &ppValue, &pValueSize);
readEAC3Config(ppValue, pValueSize, &_channels, &_channelLayoutTag);
free(ppValue);
}
else if (MP4HaveTrackAtom(fileHandle, _trackId, "mdia.minf.stbl.stsd.alac")) {
uint64_t channels_count = 0;