Merge "This particular RTSP server streams MPEG4-LATM audio with extra trailing bytes." into honeycomb
This commit is contained in:
committed by
Android (Google) Code Review
commit
63b38e31aa
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user