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

Commit 9f0fa1f4 authored by Scott Main's avatar Scott Main Committed by Android Git Automerger
Browse files

Merge branch 'eclair-mr2' of...

Merge branch 'eclair-mr2' of ssh://android-git.corp.google.com:29418/platform/frameworks/base into eclair-mr2
parents e08361d7 805cc709
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -74,7 +74,8 @@ OMX_ERRORTYPE OMXSoftwareCodecsPlugin::enumerateComponents(
        return OMX_ErrorNoMore;
    }

    strlcpy(name, kComponentInfos[index].mName, size);
    strncpy(name, kComponentInfos[index].mName, size - 1);
    name[size - 1] = '\0';

    return OMX_ErrorNone;
}