From 503775e4e2c3ead1cbd3c10561e3bdd90f2e70d5 Mon Sep 17 00:00:00 2001 From: Dave Burke Date: Tue, 29 May 2012 16:41:49 -0700 Subject: Precautionary logging to identify a potential infinite loop. Bug: 6571063 Change-Id: I433659c6da333d5acd25ad03cb7f4a6ab0b6a4a5 --- media/libstagefright/codecs/aacdec/SoftAAC2.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'media/libstagefright/codecs/aacdec') 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]); + } } /* -- cgit v1.1