mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 1144107 - Part 1: Mark tracks with no samples table as invalid. r=kentuckyfriedtakahe
This commit is contained in:
parent
02fb842974
commit
03d7a25152
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user