ref: 596df37e0820fe8cdafed3c077d9b1bbb2991803
parent: 345a313f90dc665c7d66ce4efd7a60afafac71cd
author: menno <menno>
date: Thu Jun 19 17:30:13 EDT 2003
bugfix in mp4info()
--- a/common/mp4v2/mp4info.cpp
+++ b/common/mp4v2/mp4info.cpp
@@ -267,6 +267,8 @@
const char* trackType =
MP4GetTrackType(mp4File, trackId);
+ if (trackType) {
+
if (!strcmp(trackType, MP4_AUDIO_TRACK_TYPE)) {
trackInfo = PrintAudioInfo(mp4File, trackId);
} else if (!strcmp(trackType, MP4_VIDEO_TRACK_TYPE)) {
@@ -289,6 +291,8 @@
trackId, trackType);
}
}
+
+ }
return trackInfo;
}