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

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

Merge "NuMediaExtractor: NULL check before closing data source" into nyc-dev

parents 9fde506b 4a631e84
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -55,8 +55,10 @@ NuMediaExtractor::~NuMediaExtractor() {
    }

    mSelectedTracks.clear();
    if (mDataSource != NULL) {
        mDataSource->close();
    }
}

status_t NuMediaExtractor::setDataSource(
        const sp<IMediaHTTPService> &httpService,