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

Commit 51df8dfd authored by Dan Austin's avatar Dan Austin
Browse files

Address const issues in preparation for libcxx rebase.

Change-Id: I044a41c6876a008f3f5011e2649d8557d702e802
parent f903306a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -182,7 +182,7 @@ MediaCodecList::MediaCodecList()

void MediaCodecList::parseTopLevelXMLFile(const char *codecs_xml, bool ignore_errors) {
    // get href_base
    char *href_base_end = strrchr(codecs_xml, '/');
    const char *href_base_end = strrchr(codecs_xml, '/');
    if (href_base_end != NULL) {
        mHrefBase = AString(codecs_xml, href_base_end - codecs_xml + 1);
    }