summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/aacdec/SoftAAC2.cpp
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-27 05:48:30 -0800
committerAndreas Gampe <agampe@google.com>2014-11-27 05:48:30 -0800
commit5a88501c8f677e34afb2043d7e81d8e09d6fa5f4 (patch)
tree4569ce180afcbc2aa3afaa35b06581e585294b4e /media/libstagefright/codecs/aacdec/SoftAAC2.cpp
parent61280541836947ce0b281b240ffa4c55bbf5bd55 (diff)
parente5ba80c5c802ddad57e1132675c32b479c16758a (diff)
downloadframeworks_av-5a88501c8f677e34afb2043d7e81d8e09d6fa5f4.zip
frameworks_av-5a88501c8f677e34afb2043d7e81d8e09d6fa5f4.tar.gz
frameworks_av-5a88501c8f677e34afb2043d7e81d8e09d6fa5f4.tar.bz2
resolved conflicts for merge of e5ba80c5 to lmp-mr1-dev-plus-aosp
Change-Id: Iea12c8a6cabf84584e4a89ad80e298c1f4ea3dd7
Diffstat (limited to 'media/libstagefright/codecs/aacdec/SoftAAC2.cpp')
-rw-r--r--media/libstagefright/codecs/aacdec/SoftAAC2.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/media/libstagefright/codecs/aacdec/SoftAAC2.cpp b/media/libstagefright/codecs/aacdec/SoftAAC2.cpp
index 351ba1e..0546871 100644
--- a/media/libstagefright/codecs/aacdec/SoftAAC2.cpp
+++ b/media/libstagefright/codecs/aacdec/SoftAAC2.cpp
@@ -993,8 +993,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