diff options
author | Marco Nelissen <marcone@google.com> | 2014-06-06 14:36:23 -0700 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2014-06-10 10:30:22 -0700 |
commit | ed83915060af3eaaf62feef2eb2eec1e7d431891 (patch) | |
tree | efc72d27f76cfd10bcf745a9299b6e25e68cd18c /media/libstagefright/codecs/aacdec/SoftAAC2.cpp | |
parent | a91b538853e94191fbceab5f5050940dd6b96577 (diff) | |
download | frameworks_av-ed83915060af3eaaf62feef2eb2eec1e7d431891.zip frameworks_av-ed83915060af3eaaf62feef2eb2eec1e7d431891.tar.gz frameworks_av-ed83915060af3eaaf62feef2eb2eec1e7d431891.tar.bz2 |
Remove unneeded code
Change-Id: I33c7424f1858e9f3f7f7ab5fb46db09c2714e02e
Diffstat (limited to 'media/libstagefright/codecs/aacdec/SoftAAC2.cpp')
-rw-r--r-- | media/libstagefright/codecs/aacdec/SoftAAC2.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/media/libstagefright/codecs/aacdec/SoftAAC2.cpp b/media/libstagefright/codecs/aacdec/SoftAAC2.cpp index edb7448..64bf2b6 100644 --- a/media/libstagefright/codecs/aacdec/SoftAAC2.cpp +++ b/media/libstagefright/codecs/aacdec/SoftAAC2.cpp @@ -842,12 +842,6 @@ void SoftAAC2::onPortFlushCompleted(OMX_U32 portIndex) { // depend on fragments from the last one decoded. // drain all existing data drainDecoder(); - // force decoder loop to drop the first decoded buffer by resetting these state variables, - // but only if initialization has already happened. - if (mInputBufferCount != 0) { - mInputBufferCount = 1; - mOutputBufferCount = -1; - } } else { while (outputDelayRingBufferSamplesAvailable() > 0) { int32_t ns = outputDelayRingBufferGetSamples(0, |