summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/aacdec
diff options
context:
space:
mode:
authorDave Burke <daveburke@google.com>2012-05-12 14:07:56 -0700
committerDave Burke <daveburke@google.com>2012-05-12 14:51:02 -0700
commit94f60e297b9e45fac387cf10b6ce1acc067cb4a1 (patch)
tree83ac9bfcf28f70d339a8f2e1bd1d834210eb4826 /media/libstagefright/codecs/aacdec
parent808e7d16504cbe5b28bb88c31afb2542ab488965 (diff)
downloadframeworks_av-94f60e297b9e45fac387cf10b6ce1acc067cb4a1.zip
frameworks_av-94f60e297b9e45fac387cf10b6ce1acc067cb4a1.tar.gz
frameworks_av-94f60e297b9e45fac387cf10b6ce1acc067cb4a1.tar.bz2
Remove ASC workaround (now fixed in Franhofer library).
Change-Id: Ia0ce8155def9f6dea85da7f88942ac1b11c16823
Diffstat (limited to 'media/libstagefright/codecs/aacdec')
-rw-r--r--media/libstagefright/codecs/aacdec/SoftAAC2.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/media/libstagefright/codecs/aacdec/SoftAAC2.cpp b/media/libstagefright/codecs/aacdec/SoftAAC2.cpp
index 303b8ef..58ad065 100644
--- a/media/libstagefright/codecs/aacdec/SoftAAC2.cpp
+++ b/media/libstagefright/codecs/aacdec/SoftAAC2.cpp
@@ -267,15 +267,6 @@ void SoftAAC2::onQueueFilled(OMX_U32 portIndex) {
inBuffer[0] = header->pBuffer + header->nOffset;
inBufferLength[0] = header->nFilledLen;
- // Make the decoder more robust by pruning explicit backward compatible
- // extension for LC, HE-AACv1 (SBR), HE-AACv2 (SBR + PS). We'll depend
- // on implicit configuration.
- if (inBufferLength[0] > 2) {
- UCHAR aot = inBuffer[0][0] >> 3;
- if (aot == 2 | aot == 5 | aot == 29) {
- inBufferLength[0] = 2;
- }
- }
AAC_DECODER_ERROR decoderErr =
aacDecoder_ConfigRaw(mAACDecoder,
inBuffer,