summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/aacdec/SoftAAC2.h
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2012-04-26 14:18:25 -0700
committerMarco Nelissen <marcone@google.com>2012-04-26 14:54:22 -0700
commit41914becfd019c619783d875c61ef71db0e67400 (patch)
tree00b42f8006f15f864811199dd6feb31725cf6d65 /media/libstagefright/codecs/aacdec/SoftAAC2.h
parent0756aa99dffd5740d963fdda60699fdefe58ce85 (diff)
downloadframeworks_av-41914becfd019c619783d875c61ef71db0e67400.zip
frameworks_av-41914becfd019c619783d875c61ef71db0e67400.tar.gz
frameworks_av-41914becfd019c619783d875c61ef71db0e67400.tar.bz2
Account for new AAC decoder's delay
This drops the first block of decoded samples, and flushes the decoder at the end of the stream to get the last bit of valid data. b/774846 Change-Id: I1ae61b3e0619444441d160f33903eb61f57c6d31
Diffstat (limited to 'media/libstagefright/codecs/aacdec/SoftAAC2.h')
-rw-r--r--media/libstagefright/codecs/aacdec/SoftAAC2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libstagefright/codecs/aacdec/SoftAAC2.h b/media/libstagefright/codecs/aacdec/SoftAAC2.h
index d93685c..e5a1e3e 100644
--- a/media/libstagefright/codecs/aacdec/SoftAAC2.h
+++ b/media/libstagefright/codecs/aacdec/SoftAAC2.h
@@ -50,6 +50,7 @@ private:
HANDLE_AACDECODER mAACDecoder;
CStreamInfo *mStreamInfo;
bool mIsADTS;
+ bool mIsFirst;
size_t mInputBufferCount;
bool mSignalledError;
bool mInputDiscontinuity;