am 63b38e31: Merge "This particular RTSP server streams MPEG4-LATM audio with extra trailing bytes." into honeycomb

* commit '63b38e31aaea5a3e75c7bbe0c9e40e8bdb78ff73':
  This particular RTSP server streams MPEG4-LATM audio with extra trailing bytes.
This commit is contained in:
Andreas Huber
2011-01-26 15:52:48 -08:00
committed by Android Git Automerger

View File

@@ -359,7 +359,10 @@ sp<ABuffer> AMPEG4AudioAssembler::removeLATMFraming(const sp<ABuffer> &buffer) {
}
}
CHECK_EQ(offset, buffer->size());
if (offset < buffer->size()) {
LOGI("ignoring %d bytes of trailing data", buffer->size() - offset);
}
CHECK_LE(offset, buffer->size());
return out;
}