History log of /frameworks/base/media/libstagefright/AACExtractor.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
59fe406b3a475648828d4e44ca47427fa4829677 29-Aug-2011 Jean-Michel Trivi <jmtrivi@google.com> Bug 5156756 Fix AAC ADTS header size computation

This previous frame size computation code had two incorrect
assumptions:
1/ the ADTS frame length value already contains the header size
2/ the ADTS header is not of fixed size: it is 2 bytes bigger
if it contains the CRC value.
For 1/, the code worked because when the header size was added
to the frame size, the + operator is of stronger precedence
than the ? operator, so the size added was always 0 (instead
of ADTS_HEADER_LENGTH.
For 2/, the code worked as long as there was no CRC in the ADTS
data.

The fix consists in:
- documenting what the frame length computation code returns
- fixing the frame length computation
- when computing the frame length, also returning the header
size so the correct data can be sent to the decoder.

Change-Id: I92df72a9e531f594f762e63d62f9dee7b0109904
/frameworks/base/media/libstagefright/AACExtractor.cpp
3c10b01551057a21b502014ff984fdf8e1c90a43 04-Aug-2011 Gloria Wang <gwang@google.com> Check the syncword for each frame.
Fix for bug 5117233.

Change-Id: I714c9b671832c9606cabdfe6bb21697c08de2eff
/frameworks/base/media/libstagefright/AACExtractor.cpp
c5b0abf900474b204c367093984ff60da4fba09c 02-Feb-2011 Gloria Wang <gwang@google.com> Add AAC extractor

Change-Id: Iedb08525ac72e65ba98e5c791734da0720a0e3f6
/frameworks/base/media/libstagefright/AACExtractor.cpp