diff options
Diffstat (limited to 'cmds/stagefright/sf2.cpp')
-rw-r--r-- | cmds/stagefright/sf2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmds/stagefright/sf2.cpp b/cmds/stagefright/sf2.cpp index 172dc36..891d84b 100644 --- a/cmds/stagefright/sf2.cpp +++ b/cmds/stagefright/sf2.cpp @@ -328,14 +328,14 @@ private: 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... @@ -491,7 +491,7 @@ private: if (sizeNeeded > sizeLeft) { if (outBuffer->size() == 0) { - ALOGE("Unable to fit even a single input buffer of size %d.", + ALOGE("Unable to fit even a single input buffer of size %zu.", sizeNeeded); } CHECK_GT(outBuffer->size(), 0u); |