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

Commit ce171998 authored by Robert Shih's avatar Robert Shih
Browse files

MPEG4Extractor: guard against missing stbl.

Bug: 14320131
Change-Id: I33f65117c9c5365bddd96bb41cc4379a0c7ebcbd
parent c389ca42
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line 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.
        // Make sure we have all the metadata we need.
        ALOGE("stbl atom missing/invalid.");
        return ERROR_MALFORMED;
        return ERROR_MALFORMED;
    }
    }