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

Commit 084f176d authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "libdatasource: fix null dereference" am: 0aef3ff4 am: 77f55e21

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/1686466

Change-Id: Iafdaa5eca76add298d1be217b4a5fba43856517b
parents 47ac0df2 77f55e21
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -65,6 +65,9 @@ sp<DataSource> DataSourceFactory::CreateFromURI(
        sp<HTTPBase> mediaHTTP = httpSource;
        if (mediaHTTP == NULL) {
            mediaHTTP = static_cast<HTTPBase *>(CreateMediaHTTP(httpService).get());
            if (mediaHTTP == NULL) {
                return NULL;
            }
        }

        String8 cacheConfig;