Fix: use full type for MP4GetNumberOfTracks (including optional params)

This commit is contained in:
Chris Smowton 2014-12-21 23:23:38 +00:00
parent 988e9a73fe
commit 5d5f2e77ca
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
MP4TrackId DLMP4::getMP4AACTrack(MP4FileHandle f)
{
uint32_t nTracks = this->MP4GetNumberOfTracks(f);
uint32_t nTracks = this->MP4GetNumberOfTracks(f, NULL, 0);
for(uint32_t trackIndex = 0; trackIndex < nTracks; ++trackIndex) {

View File

@ -61,7 +61,7 @@ DLMP4() : loadSuccess(false) {}
MP4Duration duration,
uint32_t timeScale);
uint32_t (*MP4GetTrackTimeScale) (MP4FileHandle hFile, MP4TrackId trackId);
uint32_t (*MP4GetNumberOfTracks) (MP4FileHandle hFile);
uint32_t (*MP4GetNumberOfTracks) (MP4FileHandle hFile, const char* type, uint8_t subType);
MP4TrackId (*MP4FindTrackId) (MP4FileHandle hFile, uint32_t trackIdx);
const char* (*MP4GetTrackType) (MP4FileHandle hFile, MP4TrackId);
const char* (*MP4GetTrackMediaDataName) (MP4FileHandle hFile, MP4TrackId);