summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/aacdec/SoftAAC2.cpp
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-24 14:47:15 -0800
committerAndreas Gampe <agampe@google.com>2014-11-25 14:55:25 -0800
commitb3f9759c8c9437c45b9a34519ce2ea38a8314d4e (patch)
tree05982b486e08637901d5ac4890aa2be659239064 /media/libstagefright/codecs/aacdec/SoftAAC2.cpp
parente4f6ecb9d323984c2b86f6d2735ebc69c5a3517a (diff)
downloadframeworks_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/codecs/aacdec/SoftAAC2.cpp')
-rw-r--r--media/libstagefright/codecs/aacdec/SoftAAC2.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/media/libstagefright/codecs/aacdec/SoftAAC2.cpp b/media/libstagefright/codecs/aacdec/SoftAAC2.cpp
index 40925fd..0bb1eb8 100644
--- a/media/libstagefright/codecs/aacdec/SoftAAC2.cpp
+++ b/media/libstagefright/codecs/aacdec/SoftAAC2.cpp
@@ -952,9 +952,6 @@ void SoftAAC2::onQueueFilled(OMX_U32 /* portIndex */) {
return;
}
- INT_PCM *outBuffer = reinterpret_cast<INT_PCM *>(outHeader->pBuffer
- + outHeader->nOffset);
- int32_t ns = 0;
outHeader->nFilledLen = 0;
outHeader->nFlags = OMX_BUFFERFLAG_EOS;
@@ -1004,8 +1001,6 @@ void SoftAAC2::onPortFlushCompleted(OMX_U32 portIndex) {
}
void SoftAAC2::drainDecoder() {
- int32_t outputDelay = mStreamInfo->outputDelay * mStreamInfo->numChannels;
-
// flush decoder until outputDelay is compensated
while (mOutputDelayCompensated > 0) {
// a buffer big enough for MAX_CHANNEL_COUNT channels of decoded HE-AAC