Bug 1144107 - Part 1: Mark tracks with no samples table as invalid. r=kentuckyfriedtakahe

This commit is contained in:
Jean-Yves Avenard 2015-07-14 09:21:27 -04:00
parent 02fb842974
commit 03d7a25152

View File

@ -2454,7 +2454,7 @@ status_t MPEG4Extractor::verifyTrack(Track *track) {
}
}
if (!track->sampleTable->isValid()) {
if (!track->sampleTable.get() || !track->sampleTable->isValid()) {
// Make sure we have all the metadata we need.
return ERROR_MALFORMED;
}