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

Commit cd5efc0e authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Make some methods static

To make it more obvious that these are only used by APacketSource

Test: build
Change-Id: I8f585cfb4bb4123eb7da4aedade5510d736fa597
parent fca6559a
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -219,7 +219,7 @@ static sp<ABuffer> MakeAVCCodecSpecificData(
    return csd;
    return csd;
}
}


sp<ABuffer> MakeAACCodecSpecificData(const char *params) {
static sp<ABuffer> MakeAACCodecSpecificData(const char *params) {
    AString val;
    AString val;
    CHECK(GetAttribute(params, "config", &val));
    CHECK(GetAttribute(params, "config", &val));


@@ -257,7 +257,7 @@ sp<ABuffer> MakeAACCodecSpecificData(const char *params) {
}
}


// From mpeg4-generic configuration data.
// From mpeg4-generic configuration data.
sp<ABuffer> MakeAACCodecSpecificData2(const char *params) {
static sp<ABuffer> MakeAACCodecSpecificData2(const char *params) {
    AString val;
    AString val;
    unsigned long objectType;
    unsigned long objectType;
    if (GetAttribute(params, "objectType", &val)) {
    if (GetAttribute(params, "objectType", &val)) {