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

Commit c95c0bef authored by Yunlian Jiang's avatar Yunlian Jiang Committed by George Burgess IV
Browse files

Fix warning: Called C++ object pointer is null

Bug: None
Test: The warning is gone.
Change-Id: If33148cc1d8b0f3b26b39afdfc086d2abf18173d
parent 65374841
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -86,7 +86,6 @@ media_status_t AMediaExtractor_setDataSource(AMediaExtractor *mData, const char
    jobject service = NULL;
    if (env == NULL) {
        ALOGE("setDataSource(path) must be called from Java thread");
        env->ExceptionClear();
        return AMEDIA_ERROR_UNSUPPORTED;
    }