Either the software mp3 decoder's CRC computation is wrong (and PV never enabled it before) or there are files in the wild with wrong CRCs that nonetheless decode correctly, either way, opt out of CRC verification.

Change-Id: I1d9bd78f4efb53faa82c67110cf61f78122e40f8
related-to-bug: 2511393
This commit is contained in:
Andreas Huber
2010-03-18 10:51:09 -07:00
parent cbf1840f4c
commit 43595bc268

View File

@@ -52,7 +52,7 @@ status_t MP3Decoder::start(MetaData *params) {
mBufferGroup->add_buffer(new MediaBuffer(4608 * 2));
mConfig->equalizerType = flat;
mConfig->crcEnabled = true;
mConfig->crcEnabled = false;
uint32_t memRequirements = pvmp3_decoderMemRequirements();
mDecoderBuf = malloc(memRequirements);