commit | 503775e4e2c3ead1cbd3c10561e3bdd90f2e70d5 | [log] [tgz] |
---|---|---|
author | Dave Burke <daveburke@google.com> | Tue May 29 16:41:49 2012 -0700 |
committer | Dave Burke <daveburke@google.com> | Tue May 29 16:41:49 2012 -0700 |
tree | 8069deada86d9e36e9a2bebbf29fbf2915422f26 | |
parent | 1adacd921319ec52fac1a4596ab6eaf8689e6a7d [diff] |
Precautionary logging to identify a potential infinite loop. Bug: 6571063 Change-Id: I433659c6da333d5acd25ad03cb7f4a6ab0b6a4a5
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 @@ outHeader->nAllocLen, 0 /* flags */); + if (decoderErr == AAC_DEC_NOT_ENOUGH_BITS) { + ALOGW("Not enough bits, bytesValid %d", bytesValid[0]); + } } /*