mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-06-06 23:22:40 +02:00
Fix: use full type for MP4GetNumberOfTracks (including optional params)
This commit is contained in:
parent
988e9a73fe
commit
5d5f2e77ca
@ -28,7 +28,7 @@
|
|||||||
MP4TrackId DLMP4::getMP4AACTrack(MP4FileHandle f)
|
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) {
|
for(uint32_t trackIndex = 0; trackIndex < nTracks; ++trackIndex) {
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ DLMP4() : loadSuccess(false) {}
|
|||||||
MP4Duration duration,
|
MP4Duration duration,
|
||||||
uint32_t timeScale);
|
uint32_t timeScale);
|
||||||
uint32_t (*MP4GetTrackTimeScale) (MP4FileHandle hFile, MP4TrackId trackId);
|
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);
|
MP4TrackId (*MP4FindTrackId) (MP4FileHandle hFile, uint32_t trackIdx);
|
||||||
const char* (*MP4GetTrackType) (MP4FileHandle hFile, MP4TrackId);
|
const char* (*MP4GetTrackType) (MP4FileHandle hFile, MP4TrackId);
|
||||||
const char* (*MP4GetTrackMediaDataName) (MP4FileHandle hFile, MP4TrackId);
|
const char* (*MP4GetTrackMediaDataName) (MP4FileHandle hFile, MP4TrackId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user