am 2dce338e: DO NOT MERGE: This particular RTSP server streams MPEG4-LATM audio with extra trailing bytes.
* commit '2dce338e01678620db0734fc3d84bcb3f2512d62': DO NOT MERGE: This particular RTSP server streams MPEG4-LATM audio with extra trailing bytes.
This commit is contained in:
@@ -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