diff options
author | Andreas Gampe <agampe@google.com> | 2014-11-24 14:47:15 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-11-25 14:55:25 -0800 |
commit | b3f9759c8c9437c45b9a34519ce2ea38a8314d4e (patch) | |
tree | 05982b486e08637901d5ac4890aa2be659239064 /media/libstagefright/Utils.cpp | |
parent | e4f6ecb9d323984c2b86f6d2735ebc69c5a3517a (diff) | |
download | frameworks_av-b3f9759c8c9437c45b9a34519ce2ea38a8314d4e.zip frameworks_av-b3f9759c8c9437c45b9a34519ce2ea38a8314d4e.tar.gz frameworks_av-b3f9759c8c9437c45b9a34519ce2ea38a8314d4e.tar.bz2 |
Stagefright: Fix unused variables, functions, values
For build-system CFLAGS clean-up, remove unused functions and
variables.
Change-Id: Ic3dee56b589ea9a693efa1d72ba394036efff168
Diffstat (limited to 'media/libstagefright/Utils.cpp')
-rw-r--r-- | media/libstagefright/Utils.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/media/libstagefright/Utils.cpp b/media/libstagefright/Utils.cpp index 25afc5b..b3a79a0 100644 --- a/media/libstagefright/Utils.cpp +++ b/media/libstagefright/Utils.cpp @@ -181,14 +181,14 @@ status_t convertMetaDataToMessage( CHECK(size >= 7); CHECK_EQ((unsigned)ptr[0], 1u); // configurationVersion == 1 - uint8_t profile = ptr[1]; - uint8_t level = ptr[3]; + uint8_t profile __unused = ptr[1]; + uint8_t level __unused = ptr[3]; // There is decodable content out there that fails the following // assertion, let's be lenient for now... // CHECK((ptr[4] >> 2) == 0x3f); // reserved - size_t lengthSize = 1 + (ptr[4] & 3); + size_t lengthSize __unused = 1 + (ptr[4] & 3); // commented out check below as H264_QVGA_500_NO_AUDIO.3gp // violates it... @@ -257,8 +257,8 @@ status_t convertMetaDataToMessage( CHECK(size >= 7); CHECK_EQ((unsigned)ptr[0], 1u); // configurationVersion == 1 - uint8_t profile = ptr[1] & 31; - uint8_t level = ptr[12]; + uint8_t profile __unused = ptr[1] & 31; + uint8_t level __unused = ptr[12]; ptr += 22; size -= 22; |