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

Commit 4ceeb141 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

libstagefright: track libziparchive API change.

One last user of the StartIteration ZipString overload...

Bug: http://b/129068177
Test: builds
Change-Id: I6b2619211372b20a721c800452cb7c63105c111e
Merged-In: I723570315285d7c2caadffd71cd2d15efde11819
parent 2d3b4c3f
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -223,10 +223,8 @@ void MediaExtractorFactory::RegisterExtractorsInApk(
        char abi[PROPERTY_VALUE_MAX];
        property_get("ro.product.cpu.abi", abi, "arm64-v8a");
        String8 prefix8 = String8::format("lib/%s/", abi);
        ZipString prefix(prefix8.c_str());
        ZipString suffix("extractor.so");
        void* cookie;
        ret = StartIteration(zipHandle, &cookie, &prefix, &suffix);
        ret = StartIteration(zipHandle, &cookie, prefix8.c_str(), "extractor.so");
        if (ret == 0) {
            ZipEntry entry;
            ZipString name;