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

Commit c3f16a62 authored by Marco Nelissen's avatar Marco Nelissen Committed by android-build-merger
Browse files

Don't CHECK if the source can't be started

am: 711f83fa

Change-Id: Ib21b34c2c9707cfeb9a20a31417c84c9af8a585e
parents 18b22afe 711f83fa
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -280,7 +280,10 @@ status_t NuMediaExtractor::selectTrack(size_t index) {

    sp<MediaSource> source = mImpl->getTrack(index);

    CHECK_EQ((status_t)OK, source->start());
    status_t ret = source->start();
    if (ret != OK) {
        return ret;
    }

    mSelectedTracks.push();
    TrackInfo *info = &mSelectedTracks.editItemAt(mSelectedTracks.size() - 1);