summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Burke <daveburke@google.com>2012-05-29 17:29:33 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-05-29 17:29:33 -0700
commit4364d2d1fd712faed7e839b58fedba3f48f626d0 (patch)
tree7eccbd1b6918f580e059ed1debcd14eead2e4fa5
parentc558fa89016ba9583049b84dc57e66a913cabde8 (diff)
parent503775e4e2c3ead1cbd3c10561e3bdd90f2e70d5 (diff)
downloadframeworks_av-4364d2d1fd712faed7e839b58fedba3f48f626d0.zip
frameworks_av-4364d2d1fd712faed7e839b58fedba3f48f626d0.tar.gz
frameworks_av-4364d2d1fd712faed7e839b58fedba3f48f626d0.tar.bz2
Merge "Precautionary logging to identify a potential infinite loop." into jb-dev
-rw-r--r--media/libstagefright/codecs/aacdec/SoftAAC2.cpp3
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]);
+ }
}
/*