Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc19c8b5 authored by Robert Shih's avatar Robert Shih Committed by Android (Google) Code Review
Browse files

Merge "MPEG4Extractor: guard against missing stbl."

parents d2814853 ce171998
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2460,8 +2460,9 @@ status_t MPEG4Extractor::verifyTrack(Track *track) {
        }
    }

    if (!track->sampleTable->isValid()) {
    if (track->sampleTable == NULL || !track->sampleTable->isValid()) {
        // Make sure we have all the metadata we need.
        ALOGE("stbl atom missing/invalid.");
        return ERROR_MALFORMED;
    }