diff options
author | Dave Burke <daveburke@google.com> | 2012-05-29 16:41:49 -0700 |
---|---|---|
committer | Dave Burke <daveburke@google.com> | 2012-05-29 16:41:49 -0700 |
commit | 503775e4e2c3ead1cbd3c10561e3bdd90f2e70d5 (patch) | |
tree | 8069deada86d9e36e9a2bebbf29fbf2915422f26 | |
parent | 1adacd921319ec52fac1a4596ab6eaf8689e6a7d (diff) | |
download | frameworks_av-503775e4e2c3ead1cbd3c10561e3bdd90f2e70d5.zip frameworks_av-503775e4e2c3ead1cbd3c10561e3bdd90f2e70d5.tar.gz frameworks_av-503775e4e2c3ead1cbd3c10561e3bdd90f2e70d5.tar.bz2 |
Precautionary logging to identify a potential infinite loop.
Bug: 6571063
Change-Id: I433659c6da333d5acd25ad03cb7f4a6ab0b6a4a5
-rw-r--r-- | media/libstagefright/codecs/aacdec/SoftAAC2.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libstagefright/codecs/aacdec/SoftAAC2.cpp b/media/libstagefright/codecs/aacdec/SoftAAC2.cpp index 791445c..8dbff9e 100644 --- a/media/libstagefright/codecs/aacdec/SoftAAC2.cpp +++ b/media/libstagefright/codecs/aacdec/SoftAAC2.cpp @@ -416,6 +416,9 @@ void SoftAAC2::onQueueFilled(OMX_U32 portIndex) { outHeader->nAllocLen, 0 /* flags */); + if (decoderErr == AAC_DEC_NOT_ENOUGH_BITS) { + ALOGW("Not enough bits, bytesValid %d", bytesValid[0]); + } } /* |